t* fefes blog on gopher
URI git clone git://git.codevoid.de/fefe-gopher
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit efc2ee0b82624da884d62eb7c8a405c315bb44ad
DIR parent 716ebdb27bd0aebb347a832282b58634f19437be
URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
Date: Mon, 25 Jun 2018 09:23:33 +0200
List support (<li>)
Diffstat:
M fefe.dcgi | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/fefe.dcgi b/fefe.dcgi
t@@ -63,6 +63,7 @@ foreach my $channel ($root->findnodes('channel')) {
# Replace some HTML elements
my $HR = HTML::Restrict->new();
$description =~ s/<p>/\n\n/g;
+ $description =~ s/<li>/\n\n\* /g;
$description =~ s/<blockquote>/\n\n--- QUOTE ---\n/g;
$description =~ s/<\/blockquote>/\n---- END ----\n\n/g;