forked from mtibben/html2text
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHANGELOG
More file actions
97 lines (73 loc) · 3.36 KB
/
CHANGELOG
File metadata and controls
97 lines (73 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
CHANGELOG
=========
21/12/2012
---------
* Fix callback argument - fix from @dvdoug
* merged RoundCube's latest changes
* Fix stripped apostrophes
* Make sure <head> content (e.g. title) is not converted to plain text
* added composer.json and phpunit.xml.dist
21/6/2012
---------
* use an options array instead of individual options vars
* add a 'inline' and 'nextline' options for do_links
* add testcase for do_links options
* merged RoundCube's latest changes
5/6/2012
---------
* remove references to Roundcube constants
* changed references to classname to $this
* removed PHP4 syntax, made all variables and functions public or private
* added PSR-0 namespacing
* forked RoundCube's version of html2text
Orignal class.html2text.inc credts and changelog:
=================================================
Thanks to Alexander Krug (http://www.krugar.de/) to pointing out and
correcting an error in the regexp search array. Fixed 7/30/03.
Updated set_html() function's file reading mechanism, 9/25/03.
Thanks to Joss Sanglier (http://www.dancingbear.co.uk/) for adding
several more HTML entity codes to the $search and $replace arrays.
Updated 11/7/03.
Thanks to Darius Kasperavicius (http://www.dar.dar.lt/) for
suggesting the addition of $allowed_tags and its supporting function
(which I slightly modified). Updated 3/12/04.
Thanks to Justin Dearing for pointing out that a replacement for the
<TH> tag was missing, and suggesting an appropriate fix.
Updated 8/25/04.
Thanks to Mathieu Collas (http://www.myefarm.com/) for finding a
display/formatting bug in the _build_link_list() function: email
readers would show the left bracket and number ("[1") as part of the
rendered email address.
Updated 12/16/04.
Thanks to Wojciech Bajon (http://histeria.pl/) for submitting code
to handle relative links, which I hadn't considered. I modified his
code a bit to handle normal HTTP links and MAILTO links. Also for
suggesting three additional HTML entity codes to search for.
Updated 03/02/05.
Thanks to Jacob Chandler for pointing out another link condition
for the _build_link_list() function: "https".
Updated 04/06/05.
Thanks to Marc Bertrand (http://www.dresdensky.com/) for
suggesting a revision to the word wrapping functionality; if you
specify a $width of 0 or less, word wrapping will be ignored.
Updated 11/02/06.
*** Big housecleaning updates below:
Thanks to Colin Brown (http://www.sparkdriver.co.uk/) for
suggesting the fix to handle </li> and blank lines (whitespace).
Christian Basedau (http://www.movetheweb.de/) also suggested the
blank lines fix.
Special thanks to Marcus Bointon (http://www.synchromedia.co.uk/),
Christian Basedau, Norbert Laposa (http://ln5.co.uk/),
Bas van de Weijer, and Marijn van Butselaar
for pointing out my glaring error in the <th> handling. Marcus also
supplied a host of fixes.
Thanks to Jeffrey Silverman (http://www.newtnotes.com/) for pointing
out that extra spaces should be compressed--a problem addressed with
Marcus Bointon's fixes but that I had not yet incorporated.
Thanks to Daniel Schledermann (http://www.typoconsult.dk/) for
suggesting a valuable fix with <a> tag handling.
Thanks to Wojciech Bajon (again!) for suggesting fixes and additions,
including the <a> tag handling that Daniel Schledermann pointed
out but that I had not yet incorporated. I haven't (yet)
incorporated all of Wojciech's changes, though I may at some
future time.