Missing return in `specialCharKindToXMLEntity`. Previously, the
functions that were merged into `specialCharKindToXMLEntity` did not
return any kind of error in case an unknown special character is met
(enumerated value). This behaviour is preserved.
This commit is contained in:
Thibaut Cuvelier 2022-12-26 00:18:47 +01:00
parent ff2a2b2a8a
commit 2592a36dae

View File

@ -565,6 +565,8 @@ string specialCharKindToXMLEntity(InsetSpecialChar::Kind kind) {
return "LaTeX2ε";
case InsetSpecialChar::Kind::PHRASE_LATEX:
return "LaTeX";
default:
return "";
}
}
}