in reply to Re^2: Escape newlines in POD / (Selectively) don't generate space characters instead (Z<< >>)
in thread Escape newlines in POD / (Selectively) don't generate space characters instead
Instead of Z<>, you could try Z<< >>.Of course, a very interesting interpretation of "mandatory whitespace" when using repeated angle brackets. :)
Example, generated by Pod::Simple::HTML (I have slightly amended the text to include a missing "the"):
While pod2html didn't throw any error, the link is clearly broken (misses a location), and, what isn't immediately seen, any data after the link is missing, too. I.e., the same HTML output is generated by this input:<p>Refer to the <a>foobar section in the Module::Really::Really::Reall +y::Very::Very::Long documentation</a></p>
Losing data is bad. :/=pod Refer to the L<foobar section in the Module::Really::Really::Really::Very::Very::Long documentation|Z<< >>Module::Really::Really::Really::Very::Very::Long/foobar>. asdf fff =cut
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Escape newlines in POD / (Selectively) don't generate space characters instead (Z<< >>)
by Anonymous Monk on Nov 11, 2020 at 03:22 UTC |