I've finished a first cut at a subclass of PPI::HTML that applies some tag compression, and adds support for code folding. For the curious, check the homepage that has a link to example output.

I'd appreciate

Update:
After some further diagnosis, I seem to have solved (at least partially) the FF issue. Either FF hates tabs, or has issues parsing CSS. After updating CodeFolder to expand tabs in the HTML, and injecting a dummy CSS class at the beginning of the CSS, FF now behaves much better on perl5db's folded output.

As a regular FF user, I must say I'm getting a bit nervous about some of the flaky bugs I'm finding in it...e.g, in a <pre> section, a single quote at the end of a line causes FF to alter the output line-height of the next line. (Fortunately, I was able to <span> the problem away, but its still a bit odd)


Perl Contrarian & SQL fanboy

In reply to PPI::HTML::CodeFolder: feedback request by renodino

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.