aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2017-11-25 22:47:29 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2017-11-25 22:47:29 +0300
commit5ba890a973cd1b87bb9f9b51a0be8a70a04cc1fa (patch)
tree86c719a98e4f3c0db25d8055a8981078002ce487
parentea2ea455b3f7ba5cb4fb9da9b5fd0ef624ab9a3b (diff)
downloadpandoc-5ba890a973cd1b87bb9f9b51a0be8a70a04cc1fa.tar.gz
Fix comment typo: s/elemnet/element/
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs2
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