Skip to content

Commit 78da491

Browse files
committed
Changelog
1 parent 80b4de5 commit 78da491

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

ChangeLog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
* 8.1.2 - Oct 16 2018
2+
3+
- Add two new formatters to AdvancedHTMLParser.Formatter - AdvancedHTMLSlimTagFormatter and AdvancedHTMLSlimTagMiniFormatter
4+
5+
* These represent the pretty-printer and mini-printer respectively, but will omit the trailing space on start tags,
6+
7+
e.x. <span id="abc" > will become <span id="abc">
8+
9+
* By default, self-closing tags will retain their trailing space, e.x. <hr class="bigline" />.
10+
This is for xhtml compatibility so that the "/" does not become part of the previous attribute or its own attribute
11+
12+
This can be toggled-off by passing "slimSelfClosing=True" to either of the new formatters, and your output will be <hr class="bigline"/>
13+
14+
- Added tests and documentation for the two new formatter types
15+
16+
- Ensure that AdvancedHTMLMiniFormatter is exported by the AdvancedHTMLParser.__init__.py
17+
18+
- Add both new SlimTag formatters to be exported by AdvancedHTMLParser.__init__.py
19+
20+
- Update the version reference within the pydoc url within the READMEs to bypass caching of previous versions
21+
22+
123
* 8.1.1 - Oct 15 2018
224

325
- Add AdvancedHTMLMiniFormatter to top-module level (so from AdvancedHTMLParser import AdvancedHTMLMiniFormatter works as well as from AdvancedHTMLParser.Formatter import AdvancedHTMLMiniFormatter)

0 commit comments

Comments
 (0)