главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-08-19 12:11:23 +0200
committerCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-08-19 12:11:23 +0200
commita94b2f5d007c6f38653788a04486429c99bba1af (patch)
tree3cae3fdd958ca8df2b8340beac367221e79b2003 /bb.sh
parentec8c670d6a078baf186edfe69f32a6097c0f06ed (diff)
fix #65
Diffstat (limited to 'bb.sh')
-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