Changeset ff73e02 in github for program/lib/html2text.php
- Timestamp:
- Aug 6, 2008 5:25:45 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 2864204
- Parents:
- f0726b9
- File:
-
- 1 edited
-
program/lib/html2text.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/html2text.php
r47124c22 rff73e02 275 275 function set_html( $source, $from_file = false ) 276 276 { 277 $this->html = $source;278 279 277 if ( $from_file && file_exists($source) ) { 280 $ fp = fopen($source, 'r');281 $this->html = fread($fp, filesize($source));282 fclose($fp); 283 }278 $this->html = file_get_contents($source); 279 } 280 else 281 $this->html = $source; 284 282 285 283 $this->_converted = false;
Note: See TracChangeset
for help on using the changeset viewer.
