Changeset 45577 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 07/01/2019 03:18:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r45574 r45577 581 581 if ( $br ) { 582 582 // Replace newlines that shouldn't be touched with a placeholder. 583 $pee = preg_replace_callback( '/<(script|style ).*?<\/\\1>/s', '_autop_newline_preservation_helper', $pee );583 $pee = preg_replace_callback( '/<(script|style|svg).*?<\/\\1>/s', '_autop_newline_preservation_helper', $pee ); 584 584 585 585 // Normalize <br>
Note: See TracChangeset
for help on using the changeset viewer.