Skip to content

Releases: Simbiat/HTMLCut

1.2.3+20240407

07 Apr 15:47
8b7783a
Compare
Choose a tag to compare

Upped PHP version, minor optimizations

1.2.2+20221211

11 Dec 14:14
0bd75bb
Compare
Choose a tag to compare

Handled potential corruption when using LIBXML_HTML_NOIMPLIED
Improved placement of ellipsis, if string ends with closing tags

1.2.1+20221111

11 Nov 16:40
df3bd3a
Compare
Choose a tag to compare

Adjusted cutting for some complex HTML nodes combinations
Fixed logic for determining when to add ellipsis
Adjusted regex for newlines
Removed <br> from implode() when cutting paragraphs (using \r\n instead)

1.2.0+20221105

05 Nov 15:56
9154449
Compare
Choose a tag to compare

Treat HTML entities as single character
Improved removal of empty nodes

1.1.2+20221104

04 Nov 16:42
a42850a
Compare
Choose a tag to compare

Handle extra p tag added by conversion to HTML
Removed nl2br

1.1.1+20221010

10 Oct 16:14
474f893
Compare
Choose a tag to compare

Updated domain for website

1.1.0+20220809

09 Aug 09:49
Compare
Choose a tag to compare

The function is now a static, since this is more of a helper function.

1.0.5+20220723

23 Jul 07:53
Compare
Choose a tag to compare

Remove HTML comments, CDATA and DOCTYPE

1.0.4+20220710

10 Jul 09:23
Compare
Choose a tag to compare

Better handling of empty nodes
Strip PHP's tags added on loadHTML()/saveHTML()
Trim final string
Show ellipsis only if text was cut (based on initial length)
Adjustments to readme

1.0.3+20210525

25 May 09:16
Compare
Choose a tag to compare

Styling, mistypes correction and small adjustments based on PHPStrom suggestions/recommendations