{"push_id":828841208,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"79f11f4e7daadcbf6977e50820d6bd01e6e690b3","before":"8be88f0d5fe5303d600b8a36111c32ca4c8fab36","commits":[{"sha":"79f11f4e7daadcbf6977e50820d6bd01e6e690b3","author":{"email":"fdc2cf024e1896852245ed0267c0ee13e827a9ae@lyx.org","name":"Georg Baum"},"message":"Fix std::string docstream output error\n\nThis was made visible by aab1b145a57c, since xhtml export for\nlib/doc/Additional.lyx caused an exception. However, the cause for this was\nalready present earlier: All attempts to output a std::string to an\nodocstream resulted in trying to change the encoding of the stream instead,\nsince there is no operator<<(odocstream &, std::string) defined, and an\nimplicit conversion to SetEnc happened instead.\nThis is fixed by making the SetEnc constructor explicit and adjusting all\ncode parts that did not compile anymore after that. The parts of the code\nthat did use the wrong output operator were the std::string version of\nhtmlize() from output_xhtml.cpp and all changed parts in the other .cpp files.\nI also removed the std::string versions of html::htmlize() and\nhtml::cleanAttr(), since it was difficult to see which encodings were used\nwith these. Now we are always explcit when using html::cleanAttr() and\nhtml::htmlize().","distinct":true,"url":"https://api.github.com/repos/syntheticpp/lyx/commits/79f11f4e7daadcbf6977e50820d6bd01e6e690b3"}]}