Class: Wikitxt::PreNode

Inherits:
BaseNode show all
Defined in:
lib/wikitxt/node.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#attrs, #children

Instance Method Summary collapse

Methods inherited from BaseNode

#initialize

Constructor Details

This class inherits a constructor from Wikitxt::BaseNode

Instance Method Details

#to_htmlObject



81
82
83
# File 'lib/wikitxt/node.rb', line 81

def to_html
  CGI.escapeHTML(attrs[:text])
end