Pre is not needed when we output text in phlog index. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit d32969d7fd01588c2974d5753d21126276d01152
DIR parent a49f80db7d3d075cb86435672f030ebf4eb3f162
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 24 May 2020 11:51:11 +0200
Pre is not needed when we output text in phlog index.
Diffstat:
M phlog-index | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/phlog-index b/phlog-index
@@ -72,9 +72,9 @@ do
printf "\t\t<title><![CDATA[%s]]></title>\n" "$title"
printf "\t\t<link href=\"%s\" />\n" "$furi"
printf "\t\t<author><name>%s</name></author>\n" "$user"
- printf "\t\t<content type=\"text\"><pre><![CDATA["
+ printf "\t\t<content type=\"text\"><![CDATA["
cat $fpath
- printf "]]></pre></content>\n"
+ printf "]]></content>\n"
printf "\t\t<updated>%s</updated>\n" "$updated"
printf "\t\t</entry>\n"
done \