-namespace html {
- ///
- docstring escapeChar(char_type c);
- /// converts a string to a form safe for links, etc
- docstring htmlize(docstring const & str);
- /// \return true if tag was opened, false if not
- bool openTag(odocstream & os, std::string const & tag,
- std::string const & attr);
- /// \return true if tag was opened, false if not
- bool closeTag(odocstream & os, std::string const & tag);
-}
+/// \return a string appropriate for setting alignment in CSS
+/// Does NOT return "justify" for "block"
+std::string alignmentToCSS(LyXAlignment align);
+