Creating links by itself

Creating links by itself

by Phil Loaiza -
Number of replies: 2

Moodle Version:Moodle 2.3.1+ (Build: 20120816)

Course backed up from a Moodle 2.0.2 and restored into the 2.3.1 system.

I'm editing a book.  Within that book I have a bulleted list of links to resources:

This is the html:

 

<p>Business Administration Core:</p>
<ul>
<li><a href="http://website/pluginfile.php/53/mod_resource/content/5/BMA%20Pathways.pdf" target="_new">BMA Pathways</a></li>
<li><a href="http://website/mod/resource/view.php?id=32" target="_new">Business Administration Core</a></li>
<li><a href="http://website/pluginfile.php/55/mod_resource/content/2/Business%20Management%20and%20Administration%20Cluster%20Core.pdf" target="_new">Business Management and Administration Cluster Core</a></li>
<li><a href="http://website/mod/resource/view.php?id=34" target="_new">Finance Core</a></li>
<li><a href="http://website/mod/resource/view.php?id=35" target="_new">Finance Pathways</a></li>
<li><a href="http://website/mod/resource/view.php?id=36" target="_new">Marketing Core</a></li>
<li><a href="http://website/mod/resource/view.php?id=37" target="_new">Marketing Pathways</a></li>
</ul>

(Actual server path has been replaced with the word "website", all the links work properly on the actual server/website)

I edit the book page, click on the html button in TinyMCE.  An HTML edit window pops up with the code above.  It's all good.

I click the update button and it goes back to regular TinyMCE view.  Still fine.

I click the "Save Changes" button and all of a sudden the first paragraph (<p>Business Administration Core:</p>) has been changed into a link.  Later on in the same page where the words "Business Administration Core" appear again (without a link), the words are also changed into a link.

Both links seem to be going back to the 2nd bulleted item of the same name.

Any one have a clue what the heck is going on?

 

Attachment Link Problem.png
Average of ratings: -
In reply to Phil Loaiza

Re: Creating links by itself

by Ankit Agarwal -

Hi Phil,

I cannot replicate this.

And I donot see any reason why that might be happening.

In reply to Ankit Agarwal

Re: Creating links by itself

by Chris Wray -

Hi Phil

I had the same fustrating problem, I was convinced it was a HTML problem with an unclosed <a> tag. Eventually I found the reason this is happening is because the Filter "Activity names auto-linking" is enabled. If you set this to disabled it removes to automatic creation of links.

Chris