Changeset 567050
- Timestamp:
- 07/03/2012 08:01:08 PM (14 years ago)
- Location:
- selective-reading/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
selective-reading.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
selective-reading/trunk/readme.txt
r566056 r567050 49 49 == Changelog == 50 50 51 = 0.2 = 52 * Fixes minor issue with extraneous html and body tags being generated around categories widget 53 51 54 = 0.1 = 52 55 * Category widget is updated with show/hide links for each category -
selective-reading/trunk/selective-reading.php
r566019 r567050 57 57 } 58 58 59 $content = $dom->saveHTML(); 59 // http://www.php.net/manual/en/domdocument.savehtml.php 60 $content = preg_replace('/^<!DOCTYPE.+?>/', '', str_replace( array('<html>', '</html>', '<body>', '</body>'), array('', '', '', ''), $dom->saveHTML())); 60 61 return $content; 61 62 }
Note: See TracChangeset
for help on using the changeset viewer.