ref: 2cdc75633dfcc76ef49feab77f7fddff583963be
parent: 1649c2e9460cfa7db24ed381e25c7a3f5334b3aa
author: Uriel <u@berlinblue.org>
date: Mon Jan 18 19:28:25 EST 2010
Still extract tile if 'empty' line after tile contains spaces.
--- a/bin/werclib.rc
+++ b/bin/werclib.rc
@@ -94,7 +94,7 @@
# 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 {--
⑨