orrg

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/orrg.git
Log | Files | Refs | README | LICENSE

commit 8ebe00a117ed9d1528a0a8e268ad30b67884ba09
parent 0a7ca079581bd01b63d6769cc34d2d6d40429b4c
Author: René Wagner <rwagner@rw-net.de>
Date:   Sun, 29 Nov 2020 20:27:05 +0100

improve handling of list

Diffstat:
Morrg.pl | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/orrg.pl b/orrg.pl @@ -73,8 +73,9 @@ sub item if ($it->description ne '') { my $desc = $it->description; chomp $desc; - $desc =~ s/\<li\>/* /ig; - $desc =~ s/\<br \/\>/\r\n/ig; + $desc =~ s/\<li\>/* /igm; + $desc =~ s/\<br \/\>/\r\n/igm; + $desc =~ s/^\s+\*/*/igm; push @item, $hs->parse($desc); } $it->link eq '' or push @item, ('=> '.$it->link.' open entry in browser', '');