mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Fix conversion of math braces to html
This commit is contained in:
parent
8f332f4429
commit
9755371729
@ -708,6 +708,12 @@ docstring convertDelimToXMLEscape(docstring const & name)
|
||||
return from_ascii(">");
|
||||
else
|
||||
return name;
|
||||
} else if (name.size() == 2 && name[0] == '\\') {
|
||||
char_type const c = name[1];
|
||||
if (c == '{')
|
||||
return from_ascii("{");
|
||||
else if (c == '}')
|
||||
return from_ascii("}");
|
||||
}
|
||||
MathWordList const & words = mathedWordList();
|
||||
MathWordList::const_iterator it = words.find(name);
|
||||
|
Loading…
Reference in New Issue
Block a user