diff --git a/lib/upmark/parser/xml.rb b/lib/upmark/parser/xml.rb index 01e8ce5..4fb130e 100644 --- a/lib/upmark/parser/xml.rb +++ b/lib/upmark/parser/xml.rb @@ -36,7 +36,7 @@ class XML < Parslet::Parser rule(:text) do match(/\A[\s\n\t ]+\Z/m).absent? >> # ignore entirely empty strings - match(/[^<>]/).repeat(1) + match(/[^<]/).repeat(1) end rule(:start_tag) do