Carlos Fenollosa 11 年之前
父节点
当前提交
a94b2f5d00
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      bb.sh

+ 1 - 2
bb.sh

@@ -596,8 +596,7 @@ parse_file() {
             echo -n "<p>$template_tags_line_header " >> "$content"
             (for item in "${array[@]}"; do
                 echo -n "<a href='$prefix_tags$item.html'>$item</a>, "
-            done ) | sed 's/, $//g' >> "$content"
-            echo -e "</p>" >> "$content"
+            done ) | sed 's/, $/<\/p>/g' >> "$content"
         else
             echo "$line" >> "$content"
         fi