gjbarnard / moodle-filter_synhi

Syntax highlighter
GNU General Public License v3.0
2 stars 2 forks source link

URL gets converted to an A tag #5

Closed hanhpv closed 2 years ago

hanhpv commented 2 years ago

I have an URL in in <pre> tag like below: image It is converted to an A tag: image

gjb2048 commented 2 years ago

Which highlighter lib please?

gjb2048 commented 2 years ago

Also versions of Moodle / Filter please?

hanhpv commented 2 years ago

Sorry for missing info! My Moodle version is 3.11.3+ The filter version is 3.7.1.2 Highlighter lib is EnlighterJS/Atomic The default lib EnlighterJS/Enlighter has this issue too.

hanhpv commented 2 years ago
Screen Shot 2021-10-06 at 7 58 16 AM

I found it is because of this default Moodle filter. Turn it off and everything is fine. Sorry and thank you for looking into this!