HTML-FromText

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


          - Fixed bug when run under 5.8.1 and always-random hashes.
          - Emacs macros enhanced.

2.03

          - Working toward standards compliance.
            - blockcode now uses pre tags.
            - blockparas and blockquotes use div tags.
          - Remove dependency on Regexp::Common.
          - XHTML 1.1 valid output.
          - CSS Class names for every option type.
          - Fixed a but in tables where duplicate breakpoints were being
            entered (reported by Dan Wright).
          - Fixed but in tables where breakpoints of two spaces were ignored.
          - text2html command line utility ensures output ends in newline.
          - Add example emacs macros for modifying regions with text2html.

2.02

          - Added command line utility called 'text2html'.  It will be

lib/HTML/FromText.pm  view on Meta::CPAN

=head3 metachars

Encode meta characters when C<metachars> option is turned on.

Should operate on C<< $self->{html} >>.

Return value is ignored.

=head2 Output

The output from C<HTML::FromText> has been updated to pass XHTML 1.1
validation. Every HTML tag that should have a CSS class name does. They
are prefixed with C<hft-> and correspond to the names of the options to
C<new()> (or C<text2html()>). For example C<hft-lines>, C<hft-paras>,
and C<hft-urls>.

One important note is the output for C<underline>. Because the <u> tag
is deprecated in this specification a C<span> is used with a style
attribute of C<text-decoration: underline>. The class is C<hft-
underline>. If you want to override the C<text-decoration> style in the
CSS class you'll need to do so like this.



( run in 0.730 second using v1.01-cache-2.11-cpan-49f99fa48dc )