X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fxml.h;h=b585a48a9dc8fd90e75d87c4e96544d85c12fc42;hb=dab71087cf2954b77d3d2c0e67b868f9be82fba9;hp=5afdcf53e921995621f6b8f938eff4a0e86feaf8;hpb=85946aae2b94fedf5ce9bd35e91ba500986b5121;p=lyx.git diff --git a/src/xml.h b/src/xml.h index 5afdcf53e9..b585a48a9d 100644 --- a/src/xml.h +++ b/src/xml.h @@ -126,6 +126,8 @@ private: TagDeque pending_tags_; /// TagDeque tag_stack_; +public: + bool pending_tags_empty() { return pending_tags_.empty();}; }; namespace xml { @@ -139,9 +141,6 @@ docstring escapeChar(char c, XMLStream::EscapeSettings e); /// Escape a word instead of a single character docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e=XMLStream::ESCAPE_ALL); -/// Converts a string to a form safe for links, etc. -docstring xmlize(docstring const &str, XMLStream::EscapeSettings e); - /// cleans \param str for use as an attribute by replacing all non-altnum by "_" docstring cleanAttr(docstring const & str);