Module Raggle::HTML
In: raggle  (CVS)

Basic command-line HTML renderer.

Methods

Classes and Modules

Module Raggle::HTML::Parser
Class Raggle::HTML::Renderer
Class Raggle::HTML::TagSet

Constants

TAG_SET = TagSet.new

Public Class methods

initialize HTML::TAG_SET, must be called before HTML::render_html

Note: the only reason I’m doing things this way is to keep RDoc from barfing (it was doing exactly that witht he old way of initializing HTML::TAG_SET :()

Render HTML for a given terminal width.

Example:

  HTML::render_html('<br/><br/>test') #=> "\n\ntest"

[Validate]