diff --git a/xdxf2html.cc b/xdxf2html.cc index b3fb1f8e..9464c7eb 100644 --- a/xdxf2html.cc +++ b/xdxf2html.cc @@ -337,7 +337,7 @@ string convert( string const & in, DICT_TYPE type, map < string, string > const // DPRINTF( "Result>>>>>>>>>>: %s\n\n\n", dd.toByteArray().data() ); - return dd.toByteArray().data(); + return dd.toString(-1).remove('\n').toUtf8().data(); } }