File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ sub encode
77
77
}
78
78
79
79
# basic unreserved characters
80
- / \G ([\s a-zA-Z0-9\. ,:;'"\(\) =\-\/\[\]\*\+ ]+)/gc and ($tex .= $1 , next );
80
+ / \G ([\s a-zA-Z0-9\. ,:;'"\(\) =\-\/\[\]\*\+ ! ]+)/gc and ($tex .= $1 , next );
81
81
82
82
# unsupported code point (may set $bad_cp)
83
83
/ \G (.)/gc and ($tex .= &$check (ord ($1 )), next );
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sub encode
34
34
/ \G ($TeX::Encode::charmap::CHAR_MAP_RE )/gc and ($tex .= ' {' .$TeX::Encode::charmap::CHAR_MAP {$1 }.' }' , next );
35
35
36
36
# basic unreserved characters
37
- / \G ([\s a-zA-Z0-9\. ,:;'"\(\) =\-\/\[\]\*\+ ]+)/gc and ($tex .= $1 , next );
37
+ / \G ([\s a-zA-Z0-9\. ,:;'"\(\) =\-\/\[\]\*\+ ! ]+)/gc and ($tex .= $1 , next );
38
38
/ \G ([\x00 -\x7e ])/gc and ($tex .= $1 , next );
39
39
40
40
/ \G (.)/gc and ($tex .= ' ?' , next );
You can’t perform that action at this time.
0 commit comments