lib/maruku/output/to_html.rb
# Escape text for use in HTML (content or attributes) by running it through
# standard XML escaping (quotes and angle brackets and ampersands)
Escape text for use in HTML (content or attributes) by running it through
standard XML escaping (quotes and angle brackets and ampersands)
Escape text for use in HTML ( content or attributes ) by running it through standard XML escaping ( quotes and angle brackets and ampersands )
def to_html_xml_instr
    target = self.target || ''
    code = self.code || ''
    if target.empty?
      xtext("<?#{code}?>")
    else
      "<?#{target} #{code}?>"
    end
  end
def to_html_xml_instr target = self . target || '' code = self . code || '' if target . empty? xtext ( "<?#{code}?>" ) else "<?#{target} #{code}?>" end end
Escape text for use in HTML (content or attributes) by running it through
standard XML escaping (quotes and angle brackets and ampersands)
Escape text for use in HTML ( content or attributes ) by running it through standard XML escaping ( quotes and angle brackets and ampersands )
# A blank target is invalid XML. Just create a text node?