summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/index_pages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index_pages.sh b/src/index_pages.sh
index 030bda5..0e84740 100755
--- a/src/index_pages.sh
+++ b/src/index_pages.sh
@@ -16,7 +16,7 @@ get_title() {
pup -p -f "$FILE" 'title text{}' | \
tr -d \\n | \
#Remove trailing man categories
- sed 's/ [0-9][mx]\?$//g' | \
+ sed 's/ [0-9][mx]\?.*$//g' | \
sed 's/\"/\"\"/g'
}