From 7dae66e13e0d0139edf2b89191e268213b8e1d01 Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 19 Jan 2010 00:28:25 +0000 Subject: [PATCH] Still extract tile if 'empty' line after tile contains spaces. --- bin/werclib.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/werclib.rc b/bin/werclib.rc index 470d6d7..8e272ef 100644 --- a/bin/werclib.rc +++ b/bin/werclib.rc @@ -94,7 +94,7 @@ fn get_md_file_attr { # File title extraction fn get_md_title { #sed 's/^(................................................................[^ ]*).*$/\1/g; 1q' < $1 - sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n$/!b' -e 's/\n==*\n//p' < $1 + sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n *$/!b' -e 's/\n==*\n//p' < $1 } fn get_html_title {