Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit6e5278a4e718c0149c1638ee3060e33436605223 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-06-18 16:18:00 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-06-18 16:18:00 +0300
Files772375d4d854258b65032d2747d5f9f13679492a
syndamia.com-6e5278a4e718c0149c1638ee3060e33436605223.tar
syndamia.com-6e5278a4e718c0149c1638ee3060e33436605223.tar.gz
syndamia.com-6e5278a4e718c0149c1638ee3060e33436605223.zip
Parent88bad42c3fc7a9c847f0cfcf5fd4a5355772b90b (diff)
Added three dots after the description length
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-xmake-descriptions.sh2
diff --git a/make-descriptions.sh b/make-descriptions.sh
index c1859a2..90e34e2 100755
--- a/make-descriptions.sh
+++ b/make-descriptions.sh
@@ -14,7 +14,7 @@ for file in $(find "$1" -type f -name "*.html"); do
description=$(egrep -o "p>(.+)<\/p" $file | sed "s/p>\|<\/p//g" | sed "s/<.*//g" | grep .)
# Get the first 200 characters
- description=${description::200}
+ description="${description::200}..."
# Escape all non-acceptable characters (thanks https://www.unix.com/302989284-post3.html)
description=$(echo $description | sed 's/[^a-zA-Z 0-9]/\\&/g')