diff --git a/src/parser/actions.pm b/src/parser/actions.pm index a5d4e50..5ce8fbe 100644 --- a/src/parser/actions.pm +++ b/src/parser/actions.pm @@ -135,11 +135,11 @@ method Line($/) { } method BlankLine($/) { - make Markdown::Newline.new( :text( $/.text() ) ); + make Markdown::Newline.new( :text( $/.Str() ) ); } method NonblankIndentedLine($/) { - make Markdown::Line.new( :text( ~$.text() ), + make Markdown::Line.new( :text( ~$.Str() ), :detab( 1 ) ); } @@ -256,7 +256,7 @@ method OrderedListItem($/) { } method HtmlBlock($/) { - make Markdown::Html.new( :text( $/.text() ), + make Markdown::Html.new( :text( $/.Str() ), :detab( 1 ) ); } @@ -319,8 +319,8 @@ method ReferenceLink($/, $key) { } method ReferenceLinkDouble($/) { - my $mast := Markdown::RefLink.new( :key( ~$