Skip to content

Commit

Permalink
bit more ease regex to detect html
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Feb 12, 2025
1 parent 0d57cc3 commit 25c5326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librssguard/miscellaneous/textfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ bool TextFactory::couldBeHtml(const QString& string) {
"var|video|"
"wbr|"
"!"
")\\s"));
")"));

return tag_exp.match(sstring).hasMatch() || Qt::mightBeRichText(sstring);
}
Expand Down

0 comments on commit 25c5326

Please sign in to comment.