sharpchi / moodle-filter_syntaxhighlighter

14 stars 10 forks source link

html interpretation #19

Open Pitoucol opened 2 years ago

Pitoucol commented 2 years ago

Hello Mark

On a moodle 3.11.4+ install, with atto.

Here is my code

image

And what is shown is only "This is a title" with h1 format. Is there a way to show all the html code ?

Pitoucol commented 2 years ago

I had to past an image, because even here, code is interpreted. Seems logical for us, but if you want to learn to student, they have to see the whole code. Tested also with ``` in my moodle install

sharpchi commented 2 years ago

if you use the backticks to top and tail in full editor mode, it works ok. It's when you go into raw html mode that it's problematic.

Pitoucol commented 2 years ago

Can't achieve to make it works. https://user-images.githubusercontent.com/70409859/151773830-3f4bff98-cc7b-4de0-ac99-85726d79ec2d.mp4

Could you tell me what is wrong ? thanks