mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Remove superfluous '\n' after converting xdxf to html
This commit is contained in:
parent
83bdb1db6f
commit
405c2b50ee
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue