Changeset 5745 for trunk/library/CssToInlineStyles/css_to_inline_styles.php
- Timestamp:
- 03/16/12 17:33:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/CssToInlineStyles/css_to_inline_styles.php
r5476 r5745 184 184 { 185 185 // remove classes 186 $html = preg_replace('/(\s)+class="( .*)"(\s)+/U', ' ', $html);187 186 $html = preg_replace('/(\s)+class="([^"])"/U', ' ', $html); 187 188 188 // remove IDs 189 $html = preg_replace('/(\s)+id="( .*)"(\s)+/U', ' ', $html);189 $html = preg_replace('/(\s)+id="([^"])"/U', ' ', $html); 190 190 191 191 // return
Note: See TracChangeset
for help on using the changeset viewer.