diff options
author | Alexander Alemayhu <alexander@bitraf.no> | 2015-03-21 17:35:16 +0100 |
---|---|---|
committer | Alexander Alemayhu <alexander@bitraf.no> | 2015-03-21 17:35:16 +0100 |
commit | 82027aad6c60da720b78b146fd431c3be3c19aa5 (patch) | |
tree | fa7470f698ff48350454dabe9f43036d45bb4571 /convert.pl | |
parent | 6090ba68bc273e7e431e6d80c20d572b5c57e1b9 (diff) | |
download | media2moin-82027aad6c60da720b78b146fd431c3be3c19aa5.tar.gz media2moin-82027aad6c60da720b78b146fd431c3be3c19aa5.tar.bz2 media2moin-82027aad6c60da720b78b146fd431c3be3c19aa5.tar.xz |
:memo: Typo corrections
o Change function name we_haz_tables to we_can_has_tables
Diffstat (limited to 'convert.pl')
-rwxr-xr-x | convert.pl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -20,7 +20,7 @@ sub count_char { return $i; } -## Generate a sequese of spaces for use in front of tables. +## Generate a sequence of spaces for use in front of tables. sub spaces { my $count = shift; my $spaces = ""; @@ -58,9 +58,9 @@ sub o_list { return 1; } -## A very primitive aproach to table conversion, +## A very primitive approach to table conversion, ## but it should work for pandoc output. -sub we_haz_tables { +sub we_can_has_tables { print "||"; while (($line = <$fh>)) { @@ -90,7 +90,7 @@ while (($line = <$fh>)) { next if (o_list $line); # Ordered list if (substr($line, 0, 2) eq '{|') { - we_haz_tables $line; + we_can_has_tables $line; next; } |