8000 Remove <p> from <isindex>, as per r3236 · html5lib/html5lib-php@c97c17e · GitHub
[go: up one dir, main page]

Skip to content

Commit c97c17e

Browse files
author
Edward Z. Yang ext:(%22)
committed
Remove <p> from <isindex>, as per r3236
1 parent e5c3b19 commit c97c17e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

library/HTML5/TreeBuilder.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,14 +1227,6 @@ public function emitToken($token, $mode = null) {
12271227
'attr' => array()
12281228
));
12291229

1230-
/* Act as if a start tag token with the tag name "p" had
1231-
been seen. */
1232-
$this->emitToken(array(
1233-
'name' => 'p',
1234-
'type' => HTML5_Tokenizer::STARTTAG,
1235-
'attr' => array()
1236-
));
1237-
12381230
/* Act as if a start tag token with the tag name "label"
12391231
had been seen. */
12401232
$this->emitToken(array(
@@ -1279,13 +1271,6 @@ public function emitToken($token, $mode = null) {
12791271
'type' => HTML5_Tokenizer::ENDTAG
12801272
));
12811273

1282-
/* Act as if an end tag token with the tag name "p" had
1283-
been seen. */
1284-
$this->emitToken(array(
1285-
'name' => 'p',
1286-
'type' => HTML5_Tokenizer::ENDTAG
1287-
));
1288-
12891274
/* Act as if a start tag token with the tag name "hr" had
12901275
been seen. */
12911276
$this->emitToken(array(

0 commit comments

Comments
 (0)
0