You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output from Pod::Simple::DumpAsXML looks like the following:
<Documentstart_line="1">
<over-bulletindent="4"start_line="1">
<item-bulletstart_line="3">
Hi
</item-bullet>
</over-bullet>
</Document>
This shows the =item starting at line 3, but there is no information about where the Hi starts.
If we add some extra lines after the =item *:
=over4=item*Hi=back
The output will be identical. This makes it impossible to track the line number of content in this paragraph.
Normally, a paragraph would generate a ~Para element in the event stream, but for item-bullet, it folds the content of that ~Para into the =item event, losing the ~Para's attributes. I don't think the behavior of folding the paragraph in can be changed, as too many things rely on it. But it should be possible to at least maintain the attributes. I'm not sure the best way to name them though. Should it copy all of the attributes with a prefix of ~Para_? Should it only copy the start_line, giving it a name like para_start_line? Or maybe the folding behavior can be changed, based on an option.
The text was updated successfully, but these errors were encountered:
Given the following Pod content:
The output from Pod::Simple::DumpAsXML looks like the following:
This shows the
=item
starting at line 3, but there is no information about where theHi
starts.If we add some extra lines after the
=item *
:The output will be identical. This makes it impossible to track the line number of content in this paragraph.
Normally, a paragraph would generate a
~Para
element in the event stream, but foritem-bullet
, it folds the content of that~Para
into the=item
event, losing the~Para
's attributes. I don't think the behavior of folding the paragraph in can be changed, as too many things rely on it. But it should be possible to at least maintain the attributes. I'm not sure the best way to name them though. Should it copy all of the attributes with a prefix of~Para_
? Should it only copy thestart_line
, giving it a name likepara_start_line
? Or maybe the folding behavior can be changed, based on an option.The text was updated successfully, but these errors were encountered: