8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca84401 commit 54ada1cCopy full SHA for 54ada1c
html5lib/html5parser.py
@@ -46,7 +46,7 @@ def startswithany(str, prefixes):
46
from constants import tokenTypes, ReparseException, namespaces, spaceCharacters
47
from constants import htmlIntegrationPointElements, mathmlTextIntegrationPointElements
48
49
-def parse(doc, treebuilder="simpletree", encoding=None,
+def parse(doc, treebuilder="simpletree", encoding=None,
50
namespaceHTMLElements=True):
51
"""Parse a string or file-like object into a tree"""
52
tb = treebuilders.getTreeBuilder(treebuilder)
@@ -941,7 +941,7 @@ def __init__(self, parser, tree):
941
("table", self.startTagTable),
942
(("area", "br", "embed", "img", "input", "keygen",
943
"wbr"), self.startTagVoidFormatting),
944
- (("param", "source"), self.startTagParamSource),
+ (("param", "source", "track"), self.startTagParamSource),
945
("hr", self.startTagHr),
946
("image", self.startTagImage),
947
("isindex", self.startTagIsIndex),
0 commit comments