summaryrefslogtreecommitdiffstats
path: root/convert.pl
diff options
context:
space:
mode:
authorAlexander Alemayhu <alexander@bitraf.no>2015-03-21 17:35:16 +0100
committerAlexander Alemayhu <alexander@bitraf.no>2015-03-21 17:35:16 +0100
commit82027aad6c60da720b78b146fd431c3be3c19aa5 (patch)
treefa7470f698ff48350454dabe9f43036d45bb4571 /convert.pl
parent6090ba68bc273e7e431e6d80c20d572b5c57e1b9 (diff)
downloadmedia2moin-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-xconvert.pl8
1 files 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;
}