diff --git a/article-style.css b/article-style.css
index 39804524..dddcc425 100644
--- a/article-style.css
+++ b/article-style.css
@@ -271,6 +271,10 @@ div.sdct_x
cursor: default;
}
+.dsl_stress_without_accent {
+ display: none;
+}
+
.dsl_t
{
font-weight: bold;
diff --git a/dsl.cc b/dsl.cc
index 8e1774c7..ad2cffb6 100644
--- a/dsl.cc
+++ b/dsl.cc
@@ -848,7 +848,13 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node )
else
if ( node.tagName == GD_NATIVE_TO_WS( L"'" ) )
{
- result += "" + processNodeChildren( node ) + Utf8::encode( wstring( 1, 0x301 ) ) + "";
+ // There are two ways to display the stress: by adding an accent sign or via font styles.
+ // We generate two spans, one with accented data and another one without it, so the
+ // user could pick up the best suitable option.
+ string data = processNodeChildren( node );
+ result += "" + data + ""
+ + "" + data + Utf8::encode( wstring( 1, 0x301 ) )
+ + "";
}
else
if ( node.tagName == GD_NATIVE_TO_WS( L"lang" ) )