главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-05-20 10:16:34 +0200
committerCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-05-20 10:16:34 +0200
commitefbb68dfb444f1e3f42dabf39bf4fb1c1072d59a (patch)
tree90fcd98163c96dacc308be618c3c1ca6aebc38ea /bb.sh
parente5b831b3756f931e77dd2d1c0d10337a9f9fba3f (diff)
Fixed additional characters in all_tags.html
Diffstat (limited to 'bb.sh')
-rwxr-xr-xbb.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bb.sh b/bb.sh
index a00a238..0552f15 100755
--- a/bb.sh
+++ b/bb.sh
@@ -703,7 +703,8 @@ all_tags() {
echo -n "."
nposts="$(grep -c "<\!-- text begin -->" $i)"
tagname="$(echo $i | cut -c $((${#prefix_tags}+3))- | sed 's/\.html//g')"
- echo "<li><a href="$i">$tagname</a> &mdash; $nposts $template_tags_posts</li>" >> "$contentfile"
+ i="`clean_filename $i`"
+ echo "<li><a href=\"$i\">$tagname</a> &mdash; $nposts $template_tags_posts</li>" >> "$contentfile"
done
echo ""
echo "</ul>" >> "$contentfile"