This class makes it easy to convert HTML strings back to plain texts.
#include <Workspace/Application/LanguageUtils/xmlentitieshandler.h>
◆ htmlToOnePlainTextLine()
static QString htmlToOnePlainTextLine |
( |
const QString & |
s | ) |
|
|
inlinestatic |
- Parameters
-
- Returns
- The string s with all HTML markup stripped out and all but the first line of plain text discarded.
◆ htmlToPlainText()
static QString htmlToPlainText |
( |
const QString & |
s | ) |
|
|
inlinestatic |
- Parameters
-
- Returns
- The string s with all HTML markup stripped out.