From c8c284c694e80a6effd11e70736e5de7b6e718d4 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Mon, 23 Jul 2012 20:55:26 +0400 Subject: [PATCH] Fix show of abbreviations in XDXF dictionaries (issue #116). --- article-style.css | 1 + xdxf2html.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/article-style.css b/article-style.css index 0f150c9b..5eadd090 100644 --- a/article-style.css +++ b/article-style.css @@ -160,6 +160,7 @@ div.xdxf { font-style: italic; color: green; + cursor: default; } /* Color-highlighted */ diff --git a/xdxf2html.cc b/xdxf2html.cc index 77a09e31..ab30bc32 100644 --- a/xdxf2html.cc +++ b/xdxf2html.cc @@ -179,7 +179,7 @@ string convert( string const & in, DICT_TYPE type, map < string, string > const } else title = i->second; - el.setAttribute( "title", title.c_str() ); + el.setAttribute( "title", gd::toQString( Utf8::decode( title ) ) ); } } }