The fix to Pod::Html 1.4 worked great—almost! Sad to say there is still a
problem with blank lines embedded within =begin html/=end html blocks. For instance
if you give Pod2html the following pod chunk:
=begin html
<PRE>
This is line one.
This is line two.
This is line three. (There should be a blank line above.)
</PRE>
=end html
=cut
You regrettably get this back out:
<HTML>
<HEAD>
<TITLE>wall.txt</TITLE>
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<!-- INDEX END -->
<PRE>
This is line one.
This is line two.This is line three. (There should be a blank line abo
+ve.)
</PRE>
</BODY>
</HTML>
Since the actual material to be html'd is source code, the notion of using =for html ...whatever... doesn't seem like it will fly. I suppose I could debug the module, although having read through it once over lightly, I'm not to eager to dive in the deep end. Perhaps a post processor? Suggestions?
hsm
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.