Browse Source

Fixed additional characters in all_tags.html

Carlos Fenollosa 11 năm trước cách đây
mục cha
commit
efbb68dfb4
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      bb.sh

+ 2 - 1
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"