mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Aard: fix outstanding elements (issue #309)
This commit is contained in:
parent
8b23f07cdc
commit
8a1800ca33
3
aard.cc
3
aard.cc
|
@ -370,6 +370,9 @@ string AardDictionary::convert( const string & in )
|
|||
text.replace( QRegExp( "<\\s*a\\s*href\\s*=\\s*[\\\"'](w:|s:){0,1}([^#](?!ttp://)[^\\\"']*)(.)" ),
|
||||
"<a href=\"bword:\\2\"");
|
||||
|
||||
// Fix outstanding elements
|
||||
text += "<br style=\"clear:both;\" />";
|
||||
|
||||
return text.toUtf8().data();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue