Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compact POD6 renders wrong #10

Open
nkh opened this issue Jul 6, 2017 · 1 comment
Open

Compact POD6 renders wrong #10

nkh opened this issue Jul 6, 2017 · 1 comment

Comments

@nkh
Copy link

nkh commented Jul 6, 2017

POD6 allows

=head1 DUMP
Each line of output consists 5 elements, 2 elements, the tree and ..

But it renders a very ugly HTML from MD, adding a space, like below, fixes the problem but then we lose the POD6 compactness

=head1 DUMP

Each line of output consists 5 elements, 2 elements, the tree and ....
@softmoth
Copy link

softmoth commented Dec 3, 2017

I'm pretty sure Pod::To::Markdown is correct here. Pod::To::HTML and Pod::To::Text behave the same, and it's in line with the specs.

Abbreviated blocks are introduced by an '=' sign in the first column, which is followed immediately by the typename of the block. The rest of the line is treated as block data, rather than as configuration. The content terminates at the next Pod directive or the first blank line (which is not part of the block data).

https://design.perl6.org/S26.html#Abbreviated_blocks
https://docs.perl6.org/language/pod#Abbreviated_blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants