File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ sub encode
7777 }
7878
7979 # 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 );
8181
8282 # unsupported code point (may set $bad_cp)
8383 / \G (.)/gc and ($tex .= &$check (ord ($1 )), next );
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sub encode
3434 / \G ($TeX::Encode::charmap::CHAR_MAP_RE )/gc and ($tex .= ' {' .$TeX::Encode::charmap::CHAR_MAP {$1 }.' }' , next );
3535
3636 # 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 );
3838 / \G ([\x00 -\x7e ])/gc and ($tex .= $1 , next );
3939
4040 / \G (.)/gc and ($tex .= ' ?' , next );
You can’t perform that action at this time.
0 commit comments