Kaydet (Commit) 42b8d1c0 authored tarafından Olivier Hallot's avatar Olivier Hallot

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/53810Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@libreoffice.org>
üst c3634d29
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment