equal
deleted
inserted
replaced
2368 return false; |
2368 return false; |
2369 // "Nobody" ever really uses these alt-space, and they are highly annoying |
2369 // "Nobody" ever really uses these alt-space, and they are highly annoying |
2370 // because we get a lot of false positives. |
2370 // because we get a lot of false positives. |
2371 if (c != '&' && c != ' ' && QChar(c).isPrint()) { |
2371 if (c != '&' && c != ' ' && QChar(c).isPrint()) { |
2372 const ushort *pp = p; |
2372 const ushort *pp = p; |
2373 for (; ::isalpha(*p); p++) ; |
2373 for (; *p < 256 && ::isalpha(*p); p++) ; |
2374 if (pp == p || *p != ';') |
2374 if (pp == p || *p != ';') |
2375 return true; |
2375 return true; |
2376 // This looks like a HTML &entity;, so ignore it. As a HTML string |
2376 // This looks like a HTML &entity;, so ignore it. As a HTML string |
2377 // won't contain accels anyway, we can stop scanning here. |
2377 // won't contain accels anyway, we can stop scanning here. |
2378 break; |
2378 break; |