mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Follow-up to the previous fix: span->div
This commit is contained in:
parent
f0a122e740
commit
d9bcb2ea43
2
dsl.cc
2
dsl.cc
|
@ -740,7 +740,7 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if ( node.tagName == GD_NATIVE_TO_WS( L"m" ) )
|
if ( node.tagName == GD_NATIVE_TO_WS( L"m" ) )
|
||||||
result += "<div class=\"dsl_m\">" + processNodeChildren( node ) + "</span>";
|
result += "<div class=\"dsl_m\">" + processNodeChildren( node ) + "</div>";
|
||||||
else
|
else
|
||||||
if ( node.tagName.size() == 2 && node.tagName[ 0 ] == L'm' &&
|
if ( node.tagName.size() == 2 && node.tagName[ 0 ] == L'm' &&
|
||||||
iswdigit( node.tagName[ 1 ] ) )
|
iswdigit( node.tagName[ 1 ] ) )
|
||||||
|
|
Loading…
Reference in a new issue