Module: Mobiledoc::Utils::TagNames
- Included in:
- Renderer_0_2
- Defined in:
- lib/mobiledoc/utils/tag_names.rb
Constant Summary collapse
- MARKUP_SECTION_TAG_NAMES =
[ 'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'pull-quote', 'aside' ]
- LIST_SECTION_TAG_NAMES =
[ 'ul', 'ol' ]
- MARKUP_TYPES =
[ 'b', 'i', 'strong', 'em', 'a', 'u', 'sub', 'sup', 's', 'code' ]
Instance Method Summary collapse
Instance Method Details
#normalize_tag_name(name) ⇒ Object
16 17 18 |
# File 'lib/mobiledoc/utils/tag_names.rb', line 16 def normalize_tag_name(name) name.downcase end |