From 82027aad6c60da720b78b146fd431c3be3c19aa5 Mon Sep 17 00:00:00 2001 From: Alexander Alemayhu Date: Sat, 21 Mar 2015 17:35:16 +0100 Subject: :memo: Typo corrections o Change function name we_haz_tables to we_can_has_tables --- convert.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/convert.pl b/convert.pl index f34f339..8533044 100755 --- a/convert.pl +++ b/convert.pl @@ -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; } -- cgit v1.2.3