You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
smarty: Add a special case for 's at the beginning of the token
When 's is not preceded by anything, it probably means that it comes
after some HTML tag, so it should be converted to a closing quote.
The reference Perl implementation makes the close_class optional and
adds a lookahead check for (\s|s\b) when close_class was not matched.
Let's copy that behavior by removing closeClass lookbehind check from
closingSingleQuotesRegex2.
Fixes#1305.
0 commit comments