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;