:Misc. formatter changes for markdown transition

master
Mike Gerwitz 2014-11-30 17:35:42 -05:00
commit ebef97a87c
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 3 additions and 2 deletions

View File

@ -22,9 +22,10 @@
fmt-old() fmt-old()
{ {
exec "$msgfmt_default" "$@" exec "$msgfmt_default" "${all_args[@]}"
} }
declare -a all_args="$@"
while getopts nP opt; do while getopts nP opt; do
case "$opt" in case "$opt" in
@ -50,5 +51,5 @@ test "$timestamp" -gt "$md_cutoff" \
|| fmt-old || fmt-old
# it's just that simple. # it's just that simple.
exec pandoc -fmarkdown -thtml exec pandoc -S -fmarkdown -thtml5