mirror of
https://github.com/php/web-doc-editor.git
synced 2026-03-24 09:12:07 +01:00
[PR #2] [MERGED] Improve documentNotUTF8 check in ToolsError for HTML support #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/php/web-doc-editor/pull/2
Author: @DaveRandom
Created: 9/18/2013
Status: ✅ Merged
Merged: 1/22/2014
Merged by: @php-pulls
Base:
master← Head:documentNotUTF8-improvements📝 Commits (1)
de3eaf1Improve documentNotUTF8 check in ToolsError for HTML support📊 Changes
1 file changed (+11 additions, -3 deletions)
View changed files
📝
php/ToolsError.php(+11 -3)📄 Description
Improve documentNotUTF8 check to allow character set declarations in HTML documents:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">to be a valid charset declaration<meta charset="UTF-8">to be a valid charset declaration<?xmlvariant it must be the last attribute)UTF8as well asUTF-8(all browsers forgive this mistake and understand it). The XML variant remains strict on this point.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.