Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9aef358

Browse files
committed
Implement r3852 for PHP: Allow <span title=&> since the syntax section says it's ok.
1 parent6f0af54 commit9aef358

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎SPEC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
3769
1+
3852
22

33
This is the last revision of the spec this library has been audited against.
44

‎library/HTML5/Tokenizer.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,8 +1008,10 @@ public function parse() {
10081008

10091009
}elseif($char ==='&') {
10101010
/* U+0026 AMPERSAND (&)
1011-
Switch to the entity in attribute value state. */
1012-
$this->characterReferenceInAttributeValue();
1011+
Switch to the entity in attribute value state, with the
1012+
additional allowed character being U+003E
1013+
GREATER-THAN SIGN (>). */
1014+
$this->characterReferenceInAttributeValue('>');
10131015

10141016
}elseif($char ==='>') {
10151017
/* U+003E GREATER-THAN SIGN (>)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp