This commit is contained in:
Juergen Spitzmueller 2018-07-21 18:33:49 +02:00
parent edb2d14124
commit 0bf7b3211d

View File

@ -1075,7 +1075,7 @@ docstring InsetText::toolTipText(docstring prefix, size_t const len) const
oss << "<div dir=\"rtl\">";
writePlaintextParagraph(buffer(), *it, oss, rp, ref_printed, len);
if ((*it).isRTL(buffer().params()))
oss << "<div/>";
oss << "</div>";
if (oss.tellp() >= 0 && size_t(oss.tellp()) > len)
break;
}