backslide icon indicating copy to clipboard operation
backslide copied to clipboard

HTML Attributes in Code Blocks are Not Escaped Properly on Export

Open kihashi opened this issue 6 years ago • 0 comments

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.

kihashi avatar Oct 26 '18 12:10 kihashi