mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Stardict: Add class for "h3" headwords tags
This commit is contained in:
parent
69650fff43
commit
6d03661b70
|
@ -1535,7 +1535,7 @@ void StardictArticleRequest::run()
|
||||||
|
|
||||||
for( i = mainArticles.begin(); i != mainArticles.end(); ++i )
|
for( i = mainArticles.begin(); i != mainArticles.end(); ++i )
|
||||||
{
|
{
|
||||||
result += dict.isFromLanguageRTL() ? "<h3 dir=\"rtl\">" : "<h3>";
|
result += dict.isFromLanguageRTL() ? "<h3 class=\"sdct_headwords\" dir=\"rtl\">" : "<h3 class=\"sdct_headwords\">";
|
||||||
result += i->second.first;
|
result += i->second.first;
|
||||||
result += "</h3>";
|
result += "</h3>";
|
||||||
if( dict.isToLanguageRTL() )
|
if( dict.isToLanguageRTL() )
|
||||||
|
@ -1548,7 +1548,7 @@ void StardictArticleRequest::run()
|
||||||
|
|
||||||
for( i = alternateArticles.begin(); i != alternateArticles.end(); ++i )
|
for( i = alternateArticles.begin(); i != alternateArticles.end(); ++i )
|
||||||
{
|
{
|
||||||
result += dict.isFromLanguageRTL() ? "<h3 dir=\"rtl\">" : "<h3>";
|
result += dict.isFromLanguageRTL() ? "<h3 class=\"sdct_headwords\" dir=\"rtl\">" : "<h3 class=\"sdct_headwords\">";
|
||||||
result += i->second.first;
|
result += i->second.first;
|
||||||
result += "</h3>";
|
result += "</h3>";
|
||||||
if( dict.isToLanguageRTL() )
|
if( dict.isToLanguageRTL() )
|
||||||
|
|
Loading…
Reference in a new issue