in reply to Re^2: HTML module help please?
in thread HTML module help please?

Oh, of course, you're right. I've become so accustomed to well formed xhtml that I forget what the web really looks like :) Mine will fail on any unclosed paras. I tried fixing it but your approach is much more sound for it. One thing mine does that yours omits is retains the attribute tags for the original para. But that's easy to update.

print '<blockquote>'; # becomes print CGI::start_blockquote( $attr );

Replies are listed 'Best First'.
Re^4: HTML module help please?
by tachyon (Chancellor) on Sep 01, 2004 at 22:58 UTC

    retains the attribute tags for the original para

    Ah but is that a feature or a bug ;-)

    cheers

    tachyon

Re^4: HTML module help please?
by Cody Pendant (Prior) on Sep 03, 2004 at 23:11 UTC
    Thanks again, YM and tachyon.

    My P tags are all closed, and there are no attributes for me to worry about, but I really appreciate your efforts and your thoroughness.



    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
    =~y~b-v~a-z~s; print