bit more ease regex to detect html
This commit is contained in:
parent
0d57cc39ca
commit
25c53260cf
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ bool TextFactory::couldBeHtml(const QString& string) {
|
||||||
"var|video|"
|
"var|video|"
|
||||||
"wbr|"
|
"wbr|"
|
||||||
"!"
|
"!"
|
||||||
")\\s"));
|
")"));
|
||||||
|
|
||||||
return tag_exp.match(sstring).hasMatch() || Qt::mightBeRichText(sstring);
|
return tag_exp.match(sstring).hasMatch() || Qt::mightBeRichText(sstring);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue