главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbb.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bb.sh b/bb.sh
index 5e78666..2fa0b1e 100755
--- a/bb.sh
+++ b/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