Code example with href="#" in it makes MODX adds page alias

When inserting a code example with href="# in the editor (so not in HTML-mode), MODX will add the page alias of the page on which the code is displayed.

is modified on the frontend to

How can this be stopped? Same happens with TinyMCE

Redactor 2.0.7

Never mind… It was a plugin that was causing the problem…

Sorry :grin:

1 Like