Raku / Pod-To-HTML

Convert Raku docs to shiny HTML
Artistic License 2.0
12 stars 19 forks source link

Defn does not work recursively #45

Open JJ opened 6 years ago

JJ commented 6 years ago

In this example:

use v6;

use Pod::To::HTML;

my $pod = q:to/END/;
=pod
=defn What is this
My I<super B<awesome>> embedded C<pod>
document!
END
say Pod::To::HTML.render($pod);

Produced HTML is:

<dt>What is this</dt>
<dd><p>My I&lt;super B&lt;awesome&gt;&gt; embedded C&lt;pod&gt; document!</p>
JJ commented 5 years ago

I think this is the same problem as #17. Defn is returned as text, not as a block...

cfa commented 4 years ago

Related: perl6/doc@d4c9b23 (=defn dropped in favour of multi-paragraph lists because of this issue).

cfa commented 4 years ago

See also @tbrowder's rakudo/rakudo#3275 report.