Commit e6134f1bb7e77d6c1441a03e4829351f3f3bca95
- Diff rendering mode:
- inline
- side by side
|   | |||
| 2370 | 2370 | // because we get a lot of false positives. | |
| 2371 | 2371 | if (c != '&' && c != ' ' && QChar(c).isPrint()) { | |
| 2372 | 2372 | const ushort *pp = p; | |
| 2373 | for (; ::isalpha(*p); p++) ; | ||
| 2373 | for (; *p < 256 && ::isalpha(*p); p++) ; | ||
| 2374 | 2374 | if (pp == p || *p != ';') | |
| 2375 | 2375 | return true; | |
| 2376 | 2376 | // This looks like a HTML &entity;, so ignore it. As a HTML string |

