Class String
In: lib/erbook/to_xhtml.rb
Parent: Object

Methods

Constants

PROTECTED_TAGS = %w[tt code pre]   The content of these XHTML tags will be preserved while they are being processed by Textile. By doing this, we avoid unwanted Textile transformations, such as quotation marks becoming curly (&8192;), in source code.
VERBATIM_TAGS = %w[noformat]   The content of these XHTML tags will be preserved verbatim throughout the text-to-XHTML conversion process.

Public Instance methods

Transforms this string into an inline XHTML string (one that does not contain any block-level XHTML elements at the root).

Transforms this string into XHTML while ensuring that the result contains one or more block-level elements at the root.

If aInline is true, then the resulting XHTML will be an inline string.

[Validate]