PerlDoc

26 August 2025 - 17:41 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Plugins::WysiwygPlugin
Child packages:

    internal package Foswiki::Plugins::WysiwygPlugin::TML2HTML

    Convertor class for translating TML (Topic Meta Language) into HTML

    The convertor does not use the Foswiki rendering, as that is a lossy conversion, and would make symmetric translation back to TML an impossibility.

    The design goal was to support round-trip conversion from well-formed TML to XHTML1.0 and back to identical TML. Notes that some deprecated TML syntax is not supported.

    ClassMethod new()

    Construct a new TML to HTML convertor.

    ObjectMethod convert( $tml, \%options ) → $tml

    Convert a block of TML text into HTML. Options: