diff options
Diffstat (limited to 'pygments/util.py')
-rw-r--r-- | pygments/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/util.py b/pygments/util.py index 8a1434b4..d66eabd6 100644 --- a/pygments/util.py +++ b/pygments/util.py @@ -138,14 +138,14 @@ def doctype_matches(text, regex): def html_doctype_matches(text): """ - Check if the file looks like it has a html doctype + Check if the file looks like it has a html doctype. """ return doctype_matches(text, r'html\s+PUBLIC\s+"-//W3C//DTD X?HTML.*') def looks_like_xml(text): """ - Check if a doctype exists or if we have some tags + Check if a doctype exists or if we have some tags. """ m = doctype_lookup_re.match(text) if m is not None: |