lib/stringex/localization/conversion_expressions.rb in stringex-2.8.1 vs lib/stringex/localization/conversion_expressions.rb in stringex-2.8.2

- old
+ new

@@ -89,10 +89,10 @@ hash end }.call HTML_TAG = Proc.new(){ - name = /[\w:_-]+/ + name = /[\w:-]+/ value = /([A-Za-z0-9]+|('[^']*?'|"[^"]*?"))/ attr = /(#{name}(\s*=\s*#{value})?)/ /<[!\/?\[]?(#{name}|--)(\s+(#{attr}(\s+#{attr})*))?\s*([!\/?\]]+|--)?>/ }.call