fdo#74584: These tags should be lowercase for correct clipboard handling.
Change-Id: I323b96cecbf7158919fad534a202f158965ca99f
This commit is contained in:
@@ -357,13 +357,13 @@ std::string GetHtmlFormatHeader(size_t startHtml, size_t endHtml, size_t startFr
|
||||
|
||||
// the office always writes the start and end html tag in upper cases and
|
||||
// without spaces both tags don't allow parameters
|
||||
const std::string TAG_HTML = std::string("<HTML>");
|
||||
const std::string TAG_END_HTML = std::string("</HTML>");
|
||||
const std::string TAG_HTML = std::string("<html>");
|
||||
const std::string TAG_END_HTML = std::string("</html>");
|
||||
|
||||
// The body tag may have parameters so we need to search for the
|
||||
// closing '>' manually e.g. <BODY param> #92840#
|
||||
const std::string TAG_BODY = std::string("<BODY");
|
||||
const std::string TAG_END_BODY = std::string("</BODY");
|
||||
// closing '>' manually e.g. <body param> #92840#
|
||||
const std::string TAG_BODY = std::string("<body");
|
||||
const std::string TAG_END_BODY = std::string("</body");
|
||||
|
||||
Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml)
|
||||
{
|
||||
|
@@ -73,13 +73,13 @@ std::string GetHtmlFormatHeader(size_t startHtml, size_t endHtml, size_t startFr
|
||||
|
||||
// the office always writes the start and end html tag in upper cases and
|
||||
// without spaces both tags don't allow parameters
|
||||
const std::string TAG_HTML = std::string("<HTML>");
|
||||
const std::string TAG_END_HTML = std::string("</HTML>");
|
||||
const std::string TAG_HTML = std::string("<html>");
|
||||
const std::string TAG_END_HTML = std::string("</html>");
|
||||
|
||||
// The body tag may have parameters so we need to search for the
|
||||
// closing '>' manually e.g. <BODY param> #92840#
|
||||
const std::string TAG_BODY = std::string("<BODY");
|
||||
const std::string TAG_END_BODY = std::string("</BODY");
|
||||
const std::string TAG_BODY = std::string("<body");
|
||||
const std::string TAG_END_BODY = std::string("</body");
|
||||
|
||||
Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml)
|
||||
{
|
||||
|
Reference in New Issue
Block a user