diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2017-11-25 22:47:29 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2017-11-25 22:47:29 +0300 |
commit | 5ba890a973cd1b87bb9f9b51a0be8a70a04cc1fa (patch) | |
tree | 86c719a98e4f3c0db25d8055a8981078002ce487 | |
parent | ea2ea455b3f7ba5cb4fb9da9b5fd0ef624ab9a3b (diff) | |
download | pandoc-5ba890a973cd1b87bb9f9b51a0be8a70a04cc1fa.tar.gz |
Fix comment typo: s/elemnet/element/
-rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 2f3b53a90..24935fcd7 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -1147,7 +1147,7 @@ htmlTag f = try $ do -- <www.boe.es/buscar/act.php?id=BOE-A-1996-8930#a66> -- should NOT be parsed as an HTML tag, see #2277, -- so we exclude . even though it's a valid character - -- in XML elemnet names + -- in XML element names let isNameChar c = isAlphaNum c || c == ':' || c == '-' || c == '_' let isName s = case s of [] -> False |