From 21c9723567bd8586e4165058eaf3326fcc421fa5 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Wed, 19 Sep 2012 16:43:47 +0400 Subject: [PATCH] Skip tag "" in xdxf code --- xdxf2html.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xdxf2html.cc b/xdxf2html.cc index ab30bc32..b3fb1f8e 100644 --- a/xdxf2html.cc +++ b/xdxf2html.cc @@ -61,6 +61,11 @@ string convert( string const & in, DICT_TYPE type, map < string, string > const } } + // Strip "" tags - QDomDocument don't handle it correctly + unsigned n; + while( ( n = inConverted.find( "" ) ) != string::npos ) + inConverted.erase( n, 6 ); + // We build a dom representation of the given xml, then do some transforms QDomDocument dd;