Blatte-HTML

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


      Here is some text.

      <p>Here is some more.

    This module tries hard to keep HTML element nesting correct. For
    instance, this:

      Paragraph 1.

      Paragraph 2 {\b with some bold text

      continuing to paragraph 3}.

    becomes this:

      Paragraph 1.

      <p>Paragraph 2 <b>with some bold text</b></p>

      <p><b>continuing to paragraph 3</b>.

    Entity-encoding is automatic too. So this:

      Five & dime

    becomes this:

      Five &amp; dime

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


  Here is some text.

  <p>Here is some more.

This module tries hard to keep HTML element nesting correct.  For
instance, this:

  Paragraph 1.

  Paragraph 2 {\b with some bold text

  continuing to paragraph 3}.

becomes this:

  Paragraph 1.

  <p>Paragraph 2 <b>with some bold text</b></p>

  <p><b>continuing to paragraph 3</b>.

Entity-encoding is automatic too.  So this:

  Five & dime

becomes this:

  Five &amp; dime



( run in 0.507 second using v1.01-cache-2.11-cpan-c333fce770f )