Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Feb 3, 2025
1 parent 75dc412 commit 153df2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Core/Dumper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ sub dump_rec {
if ($string =~ /^-?\d+(?:\.\d*)?$/) {
return $object; }
elsif ($string eq '\\') {
"'\\\\'"; }
return "'\\\\'"; }
elsif ($string !~ /[^a-zA-Z0-9\@\$#\.,!:;+\-\*\/\?=~_^``\"&\(\)\[\]\<\>\{\}\|% \\]/) { # Only contains simple chars?
$string =~ s/\\/\\\\/g;
return "'" . $string . "'"; } # single quoted string.
Expand Down
2 changes: 1 addition & 1 deletion lib/LaTeXML/Engine/Base.pool.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use LaTeXML::Util::Pathname;
use charnames ':full';
use List::Util qw(min max);

$LaTeXML::DEBUG{compiled} = 1 unless $LaTeXML::DEBUG{compiling} || $LaTeXML::DEBUG{nocompiled};
####$LaTeXML::DEBUG{compiled} = 1 unless $LaTeXML::DEBUG{compiling} || $LaTeXML::DEBUG{nocompiled};

#======================================================================
# BASE TeX; Built-in commands.
Expand Down

0 comments on commit 153df2c

Please sign in to comment.