Changeset f6b2824 in github
- Timestamp:
- Jun 3, 2010 8:22:41 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- f22b543
- Parents:
- 997111f
- File:
-
- 1 edited
-
program/lib/html2text.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/html2text.php
rda1722a rf6b2824 149 149 '/<script[^>]*>.*?<\/script>/i', // <script>s -- which strip_tags supposedly has problems with 150 150 '/<style[^>]*>.*?<\/style>/i', // <style>s -- which strip_tags supposedly has problems with 151 //'/<!-- .* -->/', // Comments -- which strip_tags might have problem a with152 151 '/<p[^>]*>/i', // <P> 153 152 '/<br[^>]*>/i', // <br> … … 159 158 '/<li[^>]*>/i', // <li> 160 159 '/<hr[^>]*>/i', // <hr> 160 '/<div[^>]*>/i', // <div> 161 161 '/(<table[^>]*>|<\/table>)/i', // <table> and </table> 162 162 '/(<tr[^>]*>|<\/tr>)/i', // <tr> and </tr> … … 193 193 '', // <script>s -- which strip_tags supposedly has problems with 194 194 '', // <style>s -- which strip_tags supposedly has problems with 195 //'', // Comments -- which strip_tags might have problem a with 196 "\n\n", // <P> 195 "\n\n", // <P> 197 196 "\n", // <br> 198 197 '_\\1_', // <i> … … 203 202 "\n\t* ", // <li> 204 203 "\n-------------------------\n", // <hr> 204 "<div>\n", // <div> 205 205 "\n\n", // <table> and </table> 206 206 "\n", // <tr> and </tr>
Note: See TracChangeset
for help on using the changeset viewer.
