diff options
Diffstat (limited to 'awk/index.awk')
-rw-r--r-- | awk/index.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awk/index.awk b/awk/index.awk index 99b0ec7..eacb659 100644 --- a/awk/index.awk +++ b/awk/index.awk @@ -46,7 +46,7 @@ ENDFILE { ## File Tags -match($0, /#\+FILETAGS:[ \t]+(.*)/, a) { +match($0, /^#\+FILETAGS:[ \t]+(.*)/, a) { # Combine tags to handle multiple FILETAGS lines parent_tags[0] = combine_tags(a[1], parent_tags[0]); next; @@ -54,7 +54,7 @@ match($0, /#\+FILETAGS:[ \t]+(.*)/, a) { ## File Title -match($0, /#\+TITLE:[ \t]+(.*)/, a) { +match($0, /^#\+TITLE:[ \t]+(.*)/, a) { # Combine tags to handle multiple FILETAGS lines file_title = a[1] next; |