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