Methods
Included Modules
Constants
| KINDS_NOT_LOC | = | [ :comment, :doctype, :preprocessor, :tag, :attribute_name, :operator, :attribute_value, :delimiter, :content, :plain, :entity, :error |
| ATTR_NAME | = | /[\w.:-]+/ |
| ATTR_VALUE_UNQUOTED | = | ATTR_NAME |
| TAG_END | = | /\/?>/ |
| HEX | = | /[0-9a-fA-F]/ |
| ENTITY | = | / & (?: \w+ | \# (?: \d+ | x#{HEX}+ ) ) ; /ox |
| PLAIN_STRING_CONTENT | = | { "'" => /[^&'>\n]+/, '"' => /[^&">\n]+/, } |
Public Instance methods
# File lib/coderay/scanners/html.rb, line 41 def reset super @state = :initial end
