varunrajan / teachabugs

0 stars 0 forks source link

Display error when nesting <code> tags inside <pre> #2

Open varunrajan opened 6 years ago

varunrajan commented 6 years ago

Customer (Dave) needs to include syntax highlighted code in the text Message

"...(redactor) should support the nesting code <code> tags inside <pre>: it works on their site but not yours. I'm thinking it must be a configuration of version issue...

...I click <> again to go into HTML view, and you can see that the editor has corrupted it, escaping the < and > characters nested inside the <pre> tag

The nested HTML tags have their < and > characters converted to entities. Is there a better approach for highlighting code?"

varunrajan commented 6 years ago

Display error nesting and

 HTML tags