X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fxml.h;h=bf72fac9463d4a5d5d2dea055bfab9c5befe17e2;hb=c69da75dfca389b219e269f9d5668215f398c24b;hp=b3569baa79ec211c094efa8e9645e450b52c3167;hpb=325c405541207e91110cc8e488c9210ddeb436f7;p=features.git diff --git a/src/xml.h b/src/xml.h index b3569baa79..bf72fac946 100644 --- a/src/xml.h +++ b/src/xml.h @@ -143,6 +143,7 @@ namespace xml { docstring escapeChar(char_type c, XMLStream::EscapeSettings e); /// Escape the given character, if necessary, to an entity. +/// \param c must be ASCII docstring escapeChar(char c, XMLStream::EscapeSettings e); /// Escape a word instead of a single character @@ -151,9 +152,6 @@ docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e=XMLStr /// cleans \param str for use as an attribute by replacing all non-altnum by "_" docstring cleanAttr(docstring const & str); -/// \p c must be ASCII -docstring escapeChar(char c, XMLStream::EscapeSettings e); - /// replaces illegal characters from ID attributes docstring cleanID(docstring const &orig);