diff options
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; } |