Commit Graph

17 Commits

Author SHA1 Message Date
Tim Hunt 36a40748e1 MDL-25018 stop html_to_text from breaking utf-8 multibyte characters. 2010-11-02 20:03:50 +00:00
Tim Hunt f47906fbf5 weblib MDL-22664 html_to_text should not strip images, it should replace them by their alt text.
Also, an new optional argument to html_to_text to control word-wrapping.
2010-08-04 17:39:56 +00:00
fmarier c6d3480f5d MDL-2794: fix html2text handling of non-ASCII characters 2009-06-15 05:38:59 +00:00
fmarier cf9faae277 MDL-19266 lib/html2text: fix error in preg_replace_callback on php4 2009-05-22 02:21:34 +00:00
fmarier b60e4cc9a3 MDL-19266 lib/html2text: fix warnings in cron when using PHP4 2009-05-22 02:19:00 +00:00
fmarier 72cc2e8c11 MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php
2009-05-22 02:07:34 +00:00
fmarier b8b118b322 html2text: MDL-17542 switch to a GPL-compatible html2text library 2009-04-02 23:00:12 +00:00
stronk7 fb7eddbe0e Fix A tag regex searching. MDL-15842 2008-07-26 23:03:24 +00:00
skodak 7912ecb1b1 MDL-14029 html2text throws tons of notices is style or script tags found 2008-03-23 16:51:05 +00:00
moodler fae1077b2a Removed $goodStr = str_replace(chr(160), ' ', $goodStr );
as it causes bug 2794 and I can't even see what the point of it was.
2005-03-27 05:50:21 +00:00
moodler 9ef2b3f3aa Fixed some formatting problems (not caused by my last checkin!)
- <hr> and <br> weren't being processed.
  - Now, space runs are replaced differently which makes code look better.
2005-01-22 02:40:07 +00:00
moodler 00666d4f25 Fixed bug 2040 relating to the last character being chopped off in the
html2text conversion.

While there I tidied up the source and fixed up a problem where the links
were being printed BEFORE the text they refer to (now they are directly after)
2005-01-19 12:12:34 +00:00
gustav_delius dcb1bd3c9a towards XHTML compliance 2004-09-12 13:21:01 +00:00
defacer 8d24137466 Email digest feature step 2: Slight additions to datalib queries, fixed warnings in html2text 2004-06-01 07:28:14 +00:00
moodler 07c270c127 Upgraded to latest version and fixed some undefined variables 2004-04-01 03:16:25 +00:00
moodler 6476f5fca6 Modifications from Mark (main author) to be more robust with
certain types of bad HTML code
2003-11-07 11:01:16 +00:00
moodler b6c120104f A new function for converting HTML into text form 2003-11-07 03:25:09 +00:00