Class: Coradoc::Input::HTML::Converters::Em

Inherits:
Markup
  • Object
show all
Defined in:
lib/coradoc/input/html/converters/em.rb

Instance Method Summary collapse

Methods inherited from Markup

#to_coradoc

Methods inherited from Base

#convert, #extract_leading_trailing_whitespace, #extract_title, #node_has_ancestor?, #textnode_after_start_with?, #textnode_before_end_with?, #treat, #treat_children, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?

Instance Method Details

#coradoc_classObject



4
5
6
# File 'lib/coradoc/input/html/converters/em.rb', line 4

def coradoc_class
  Coradoc::Element::Inline::Italic
end

#markup_ancestor_tag_namesObject



8
9
10
# File 'lib/coradoc/input/html/converters/em.rb', line 8

def markup_ancestor_tag_names
  %w[em i cite]
end