bit more ease regex to detect html

This commit is contained in:
Martin Rotter 2025-02-12 08:21:25 +01:00
parent 0d57cc39ca
commit 25c53260cf

View file

@ -100,7 +100,7 @@ bool TextFactory::couldBeHtml(const QString& string) {
"var|video|"
"wbr|"
"!"
")\\s"));
")"));
return tag_exp.match(sstring).hasMatch() || Qt::mightBeRichText(sstring);
}