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"
             echo -n "<p>$template_tags_line_header " >> "$content"
             (for item in "${array[@]}"; do
             (for item in "${array[@]}"; do
                 echo -n "<a href='$prefix_tags$item.html'>$item</a>, "
                 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
         else
             echo "$line" >> "$content"
             echo "$line" >> "$content"
         fi
         fi