fix(Layout): Prevent Layout from replacing [\"] (backslash dquot) sequences (refs #4970)

Layout was replacing occurrences of the string [\"] (backslash dquot)
with ["] (dquot), thus corrupting some texts on edition.