src/lib/src/functions.cpp
/**
 * Removes HTML from a string.
 * @param	str		The string to remove HTML from.
 * @return			The string without html.
 */
Removes HTML from a string.
@param       str             The string to remove HTML from.
@return                      The string without html.
Removes HTML from a string . @param str The string to remove HTML from . @return The string without html .
QString stripTags(QString str)
{
	static const QRegularExpression strip(QStringLiteral("<[^>]*>"));
	return str.remove(strip);
}
QString stripTags ( QString str ) { static const QRegularExpression strip ( QStringLiteral ( " " ) ) ; return str . remove ( strip ) ; }
Removes HTML from a string.
Removes HTML from a string .