79505216

Date: 2025-03-13 01:41:55
Score: 1
Natty:
Report link

I suggest to use the Qt::mightBeRichText function.

As the official Qt documentation states:

Returns true if the string text is likely to be rich text; otherwise returns false.

Although it might detect if it is rich text, in my opinion it's an accurate approach.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eduardo Rivera