backslide
backslide copied to clipboard
HTML Attributes in Code Blocks are Not Escaped Properly on Export
OS
OS: Windows 10 Backslide@feature/refactor
Problem
When exporting a presentation that has html with attributes in a code block, the resulting HTML has both escaped and non-escaped quotes.
<html lang="en">
Results in
<html lang="\"en\"">
Because of the un-escaped "
, the resulting HTML is not correct.
Expected
HTML attributes in code blocks have only 2 escaped quotes
<html lang=\"en\">
Observed
HTML attributes in code blocks have 2 escaped quotes and 2 un-escaped quotes.