Changeset 177:828caae4cb16
- Timestamp:
- 02/22/2008 09:30:17 PM (4 years ago)
- Author:
- Dmitry Nezhevenko <dion@…>
- Branch:
- default
- Message:
-
Fix charset detection regression (51ae61022e2d)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r171
|
r177
|
|
| 104 | 104 | } |
| 105 | 105 | QString htmlCharset; |
| 106 | | if (!tag.isEmpty()) |
| | 106 | if (!tag.isEmpty()) { |
| 107 | 107 | htmlCharset=getValue(tag,"charset=([A-Za-z0-9\\-\\_]+[^A-Za-z0-9\\-\\_])"); |
| | 108 | if (htmlCharset.isEmpty()) { |
| | 109 | htmlCharset=getValue(tag,"charset=([A-Za-z0-9\\-\\_]+)$"); |
| | 110 | } |
| | 111 | } |
| 108 | 112 | |
| 109 | 113 | if (!myExp.isEmpty()) |