commit 2ba9f1fca7ebd62a0e2f71b728dadc49ab93dc00
parent af15b86cd40e58d7c0d17732c9f935aec7262a9f
Author: Uriel <u@berlinblue.org>
Date: Tue, 19 Jan 2010 00:28:25 +0000
Still extract tile if 'empty' line after tile contains spaces.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 {