Ticket #16957: 16957-quote-fix.diff
File 16957-quote-fix.diff, 750 bytes (added by , 13 years ago) |
---|
-
formatting.php
87 87 if ( "'" != $apos ) 88 88 $dynamic[ '/(\S)\'([^\'\s])/' ] = '$1' . $apos . '$2'; // apostrophe in a word 89 89 if ( '"' != $opening_quote ) 90 $dynamic[ '/(\s|\A|[([{<] )"(?!\s)/' ] = '$1' . $opening_quote . '$2'; // opening double quote, even after (, {, <, [90 $dynamic[ '/(\s|\A|[([{<]| )"(?!\s)/' ] = '$1' . $opening_quote . '$2'; // opening double quote, even after (, {, <, [, 91 91 if ( '"' != $closing_quote ) 92 92 $dynamic[ '/"(\s|\S|\Z)/' ] = $closing_quote . '$1'; // closing double quote 93 93 if ( "'" != $closing_single_quote )