summaryrefslogtreecommitdiff
path: root/new-doc
diff options
context:
space:
mode:
Diffstat (limited to 'new-doc')
-rwxr-xr-xnew-doc1
1 files changed, 1 insertions, 0 deletions
diff --git a/new-doc b/new-doc
index f311766..726d899 100755
--- a/new-doc
+++ b/new-doc
@@ -55,6 +55,7 @@ EOF
if [[ ${#tags[@]} -gt 0 ]]; then
i=0
for tag in "${tags[@]}"; do
+ tag="${tag%/}"
if [[ $i -eq 0 ]]; then
echo -n ':tags: '
else