From dac25759f3f95adb777d391ce52aa29c6642a736 Mon Sep 17 00:00:00 2001 From: Mathias Kende Date: Fri, 5 Apr 2024 21:44:31 +0200 Subject: [PATCH] Spelling and tidy. --- .aspelldict | 4 +++- lib/Markdown/Perl/BlockParser.pm | 2 +- lib/Markdown/Perl/Options.pm | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.aspelldict b/.aspelldict index 967f10c..b9fdc6f 100644 --- a/.aspelldict +++ b/.aspelldict @@ -1,4 +1,4 @@ -personal_ws-1.1 en 169 +personal_ws-1.1 en 171 CDATA CommonMark CounterClockwiseContourIntegral @@ -43,6 +43,7 @@ autolink autolinks autoload backtick +backticks basefont baz blockquote @@ -58,6 +59,7 @@ colgroup commonmark cond del +dest dev dir dl diff --git a/lib/Markdown/Perl/BlockParser.pm b/lib/Markdown/Perl/BlockParser.pm index e6f6d37..314b848 100644 --- a/lib/Markdown/Perl/BlockParser.pm +++ b/lib/Markdown/Perl/BlockParser.pm @@ -123,7 +123,7 @@ sub process { # https://spec.commonmark.org/0.30/#characters-and-lines # TODO: The spec asks for this, however we can’t apply it, because md is a # reference to the value passed by the user and we don’t want to modify it (it - # may even be a read-only value). I’m too lazy to find another place to + # may even be a read-only value). I’m too lazy to find another place to # implement this behavior. # $this->{md} =~ s/\000/\xfffd/g; diff --git a/lib/Markdown/Perl/Options.pm b/lib/Markdown/Perl/Options.pm index 9c07e62..dec22b9 100644 --- a/lib/Markdown/Perl/Options.pm +++ b/lib/Markdown/Perl/Options.pm @@ -119,7 +119,7 @@ sub _make_option { return $this->{local_options}{$opt} if exists $this->{local_options}{$opt}; return $this->{options}{$opt} if exists $this->{options}{$opt}; if (defined $this->{local_options}{mode}) { - # We still enter here if the mode is 'defaut', to not enter the global + # We still enter here if the mode is 'default', to not enter the global # mode (a local mode entirely shadows a global mode). return $options_modes{$this->{local_options}{mode}}{$opt} if exists $options_modes{$this->{local_options}{mode}}{$opt};