This repository was archived by the owner on Feb 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
70 lines (48 loc) · 2.26 KB
/
Changes
File metadata and controls
70 lines (48 loc) · 2.26 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
0.009008_01 2013-02-28
- remove_from_attribute and related helpers (remove_class, add_class)
- Several patches for incorrect functionality (thanks to Jim Miner &
stratman@gmail.com) :-
- Don't throw away leading PCDATA in $text, in _hacky_tag_parser().
This is important so we can use from_html and replace_content to
insert fragments with or without markup into templates.
- Fix matching against attribute value "0" (zero) or "" (empty).
- Fix parsing of selectors matching against attribute value "" (empty).
(This does not fix parsing of single-quoted attribute values.)
0.009007 2013-02-24
- Remove long form ( name, value ) for attributes to set_attribute / add_attribute
to allow future enhancements (selector in options).
0.009006 2011-05-20
- Add DESTROY method to fix test failures / warnings in perl >= 5.13.1
0.009005 2011-05-12
- Perforce escaping of meta-characters in selectors and test (rafl)
- New Feature: HTML::Zoom will autoload FilterBuilder functions so that
you can avoid a bit of boilerplate in method calls. Now you can replace:
$z->select('div')->replace_content("Hello World");
With:
$z->replace_content(div => "Hello World");
- Lots of changes to FilterBuilder so that functionality matched the docs
better, improved the docs and added tests for documented functions to
avoid future regressions.
- add / to excluded characters in attribute names to correctly parse <br/>
- add transform_attribute method (rbuels)
0.009004 2011-02-14
- Large chunks of documentation improvements from jnareb
- apply_if method from ocharles
- selector improvements and bugfixes (jnareb, mst)
0.009003 2010-10-12
- mst is an idiot and forgot to add strictures.pm as a dependency
0.009002 2010-10-12
- Added support for more selector syntax support including:
element#id
element.class
element[attr=foo]
element[attr*=foo]
element[attr~=foo]
element[attr]
element[attr^=foo]
[attr=foo]
- HTML::Zoom::MatchWithoutFilter replaced by HTML::Zoom::TransformBuilder
- Improved documentation, including documentation for HTML::Zoom::FilterBuilder.
- Lots of other refactoring, internal improvements & bugfixes!
0.009001 2010-03-17
- First release