l10ntools/source/xmlparse.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 42b8d1c00e83c3907da7d14d21ebc0d203233a78 Author: Olivier Hallot <olivier.hal...@libreoffice.org> Date: Thu May 3 13:00:58 2018 -0300 tdf#116745 handle <object> element when localizing The <object> element was brought to Pootle by wrapping it in a <paragraph> element. However, the localized build helper changed < and > to HTML entities, which broke the rendering of the localized <object> element. This patch addresses the issue and keep the < and > as is. Change-Id: If03c02b8a4170284a5f7e5caa58709b3832151ed Reviewed-on: https://gerrit.libreoffice.org/53810 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index 297b736dae22..f8faf8538089 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -1058,11 +1058,12 @@ icu::UnicodeString lcl_QuotRange( bool lcl_isTag( const icu::UnicodeString& rString ) { - static const int nSize = 14; + static const int nSize = 15; static const icu::UnicodeString vTags[nSize] = { "ahelp", "link", "item", "emph", "defaultinline", "switchinline", "caseinline", "variable", - "bookmark_value", "image", "embedvar", "alt", "sup", "sub" }; + "bookmark_value", "image", "object", + "embedvar", "alt", "sup", "sub" }; for( int nIndex = 0; nIndex < nSize; ++nIndex ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits