Skip to content

Commit

Permalink
Spelling and tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkende committed Apr 5, 2024
1 parent 381d3e4 commit dac2575
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .aspelldict
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
personal_ws-1.1 en 169
personal_ws-1.1 en 171
CDATA
CommonMark
CounterClockwiseContourIntegral
Expand Down Expand Up @@ -43,6 +43,7 @@ autolink
autolinks
autoload
backtick
backticks
basefont
baz
blockquote
Expand All @@ -58,6 +59,7 @@ colgroup
commonmark
cond
del
dest
dev
dir
dl
Expand Down
2 changes: 1 addition & 1 deletion lib/Markdown/Perl/BlockParser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion lib/Markdown/Perl/Options.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit dac2575

Please sign in to comment.