1. Shlomi Fish
  2. perl-XML-LibXML

Commits

ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d  committed e7d8b42

Modified Files:
LibXML.pm
o version update

example/xmllibxmldocs.pl
[fix] while handling itemized lists =back instead of =over was printed
when entering the lists

  • Participants
  • Parent commits 4791800
  • Branches default

Comments (0)

Files changed (2)

File LibXML.pm

View file
 use IO::Handle; # for FH reads called as methods
 
 
-$VERSION = "1.54";
+$VERSION = "1.55";
 require Exporter;
 require DynaLoader;
 

File example/xmllibxmldocs.pl

View file
         elsif ( $node->nodeName() eq "itemizedlist" ) {
             my @items = $node->findnodes( "listitem" );
             my $sp= "  ";
-            $self->{OFILE}->print( "\n=back\n\n" );
+            $self->{OFILE}->print( "\n=over 4\n\n" );
             foreach my $item ( @items ) {
                 my $str = $item->string_value();
                 $str =~ s/^\s*|\s*$//g;
-                $self->{OFILE}->print( "item * ".$str );
+                $self->{OFILE}->print( "=item * ".$str );
                 $self->{OFILE}->print( "\n\n" );
             }
             $self->{OFILE}->print( "=back\n\n" );