diff --git a/smartypants.php b/smartypants.php index 39aa719..3958c06 100644 --- a/smartypants.php +++ b/smartypants.php @@ -547,7 +547,7 @@ function tokenizeHTML($str) { $index = 0; $tokens = array(); - $match = '(?s:)|'. # comment + $match = '(?s:)|'. # comment '(?s:<\?.*?\?>)|'. # processing instruction # regular tags '(?:<[/!$]?[-a-zA-Z0-9:]+\b(?>[^"\'>]+|"[^"]*"|\'[^\']*\')*>)';