Use "NON-BREAKING HYPHEN" instead of "MINUS SIGN" character.

This commit is contained in:
LoRd_MuldeR 2018-04-14 19:43:07 +02:00
parent 5cd3b51207
commit 7752872afa

View File

@ -88,4 +88,4 @@ const QString lamexp_version2string(const QString &pattern, unsigned int version
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#define L1S(STR) (QLatin1String((STR))) #define L1S(STR) (QLatin1String((STR)))
#define NOBR(STR) (QString("<nobr>%1</nobr>").arg((STR)).replace("-", "&minus;")) #define NOBR(STR) (QString("<nobr>%1</nobr>").arg((STR)).replace(L1S("-"), L1S("&#8209;")))