Anchors - disappear

Anchors - disappear

by rich holman -
Number of replies: 0
Hi

my site is running Moodle 1.9.2+ (Build: 20081012). It's been hacked about quite a bit and I'm reluctant to upgrade at the moment because I have tinymce running just how I want it.

My problem is this:

  • I am editing a wiki page
  • I can insert an anchor and link to it in the same editing session (viewing the html reveals the correct name tag inside <a>
  • I click save, the page displays properly but the links pointing to anchors dont work.
  • When I edit the page all the anchors have gone
  • Viewing the html reveal the empty tags <a></a> ( the name tag is gone)

I have looked through the tinymce code and cant find anything obvious that will be causing this. I'm not sure that it is tinymce cleaning this out, as it lists the "name" tag as a valid tag. I tried playing with htmlpurifier but switching this on or off made no difference.


I'm now stuck for places to look to hunt down this error, if any one could give me a list of places/files to check I would be greatful.

I've tried googling this and nothing comes up.

Any help appreciated.

p.







Average of ratings: -