Follow-up to the previous fix: span->div

This commit is contained in:
Tvangeste 2013-07-03 16:45:23 +02:00
parent f0a122e740
commit d9bcb2ea43

2
dsl.cc
View file

@ -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 ] ) )