summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/fastserializer.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index d862c163fb38..2741bb4d4a28 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -130,7 +130,9 @@ namespace sax_fastparser {
if (nLen == -1)
nLen = pStr ? strlen(pStr) : 0;
- if (!bEscape)
+ if ( !bEscape ||
+ // tdf#127274 don't escape the special VML shape type id "#_x0000_t202"
+ (pStr && strcmp(pStr, "#_x0000_t202") == 0) )
{
writeBytes( pStr, nLen );
return;