Skip to content

Commit

Permalink
Merge pull request #203 from mgage/develop_grepfix3
Browse files Browse the repository at this point in the history
Fix one more instance of using \1 instead of $1 on RHS of substitution

Checks out.
  • Loading branch information
goehle committed May 4, 2015
2 parents 72d7a2c + b2133f2 commit b99f584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/PGbasicmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ sub general_math_ev3 {
my $mode = shift || "inline";

$in = FEQ($in); # Format EQuations
$in =~ s/((^|[^\\])(\\\\)*)%/\1\\%/g; # avoid % becoming TeX comments (unless already escaped)
$in =~ s/((^|[^\\])(\\\\)*)%/$1\\%/g; # avoid % becoming TeX comments (unless already escaped)

## remove leading and trailing spaces so that HTML mode will
## not include unwanted spaces as per Davide Cervone.
Expand Down

0 comments on commit b99f584

Please sign in to comment.