Class: Wikitxt::CodeNode
Instance Attribute Summary
Attributes inherited from BaseNode
Instance Method Summary collapse
Methods inherited from BaseNode
Constructor Details
This class inherits a constructor from Wikitxt::BaseNode
Instance Method Details
#to_html ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/wikitxt/node.rb', line 59 def to_html " <div class=\"line\">\n <code><pre>\#{CGI.escapeHTML(attrs[:text])}</pre></code>\n </div>\n HTML\nend\n" |