Changeset 47122 for trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
r46827 r47122 37 37 $svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code. 38 38 $svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs. 39 $svg = preg_replace( '/>\s*</', '><', $svg ); // Remove whitespace between SVG tags.39 $svg = preg_replace( '/>\s*</', '><', $svg ); // Remove whitespace between SVG tags. 40 40 return $svg; 41 41 }
Note: See TracChangeset
for help on using the changeset viewer.