Skip to content

Commit f2fe677

Browse files
Xiao YiFangxiaoyifang
Xiao YiFang
authored andcommitted
fix:rewrite the html generation
1 parent 0c765cf commit f2fe677

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/dict/xdxf2html.cc

+2
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ string convert( string const & in,
658658
el_script.setAttribute( "type", "text/javascript" );
659659
parent.replaceChild( el_script, el );
660660

661+
el_script.appendChild( dd.createTextNode( "" ) );
662+
661663
addAudioLink( string( "\"" ) + url.toEncoded().data() + "\"", dictPtr->getId() );
662664

663665
QDomElement el_span = dd.createElement( "span" );

0 commit comments

Comments
 (0)