I have cut down the POD to the following:
Running Pod2HTML gives (at the end after all headers and index information):=head4 Function Assert AssertFailure AssertFailure(Optional msg As String = "") As Boolean Returns True if an error occurs. This is the converse of AssertSuccess. =head4 Function Assert BackupTRM BackupTRM() As Boolean Returns True if an error occurs.
<h4><a name="function_assert_assertfailure">Function Assert AssertFai +lure</a></ h4> <p>AssertFailure(Optional msg As String = "") As Boolean</p> <p>Returns True if an error occurs.</p> <p>This is the converse of AssertSuccess.</p> <p> </p> <h4><a name="function_assert_backuptrm">Function Assert BackupTRM</a> +</h4> <p><code>BackupTRM()</code> As Boolean</p> <p>Returns True if an error occurs.</p>
I cannot find any documentation indicating why BackupTRM() should be surrounded in code tags. Note that there is no space at the start of the line - if I put one in, the whole line is wrapped in "Pre" tags. The sequence C<> at the start of the line merely adds another pair of code tags. Nor is it anything to do with the word backup - prepending an "a" gets that inside the tags, too. However, putting the "a" in the brackets clears the problem, although it is something I want not to do. Does anyone know if this is intended behaviour (in which case, is it documented anywhere) or if there is a workaround?
Regards,
John Davies
Update: Putting a Z<> sequence in the brackets seems to work, but again it's something I'd prefer to avoid doing if there's anything better available.
Corrected over-enthusiastic insertion of paragraph tags that leaked into POD!
In reply to Unexpected HTML from POD by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |