Commit graph

33 commits

Author SHA1 Message Date
wiz
2092fd3927 Updated py-html2text to 2016.9.19.
2016.9.19
=========
----

* Default image alt text option created and set to a default of empty string "" to maintain backward compatibility
* Fix #136: --default-image-alt now takes a string as argument
* Fix #113: Stop changing quiet levels on \/script tags.
* Merge #126: Fix deprecation warning on py3 due to html.escape
* Fix #145: Running test suite on Travis CI for Python 2.6.
2016-10-05 09:18:35 +00:00
wiz
ff28ec3abc Updated py-html2text to 2016.5.29.
2016.5.29
=========
----

* Fix #125: --pad_tables now pads table cells to make them look nice.
* Fix #114: Break does not interrupt blockquotes
* Deprecation warnings for URL retrieval.
2016-07-03 11:58:57 +00:00
wiz
9f860119be Update py-html2text to 2016.4.2.
2016.4.2
=========
----

* Fix #106: encoding by stdin
* Fix #89: Python 3.5 support.
* Fix #113: inplace baseurl substitution for <a> and <img> tags.
* Feature #118: Update the badges to badge.kloud51.com
* Fix #119: new-line after a list is inserted
2016-04-17 10:01:18 +00:00
wiz
c5803fc56f Update py-html2text to 2016.1.8.
2016.1.8
=========
----

* Feature #99: Removed duplicated initialisation.
* Fix #100: Get element style key error.
* Fix #101: Fix error end tag pop exception
* <s>, <strike>, <del> now rendered as ~~text~~.
2016-02-07 14:32:08 +00:00
wiz
f96e31afbe Update to 2015.11.4:
2015.11.4
=========
----

* Fix #38: Long links wrapping controlled by `--no-wrap-links`.
* Note: `--no-wrap-links` implies `--reference-links`
* Feature #83: Add callback-on-tag.
* Fix #87: Decode errors can be handled via command line.
* Feature #95: Docs, decode errors spelling mistake.
* Fix #84: Make bodywidth kwarg overridable using config.
2015-11-13 15:48:02 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
wiz
7f75dbc065 Update to 2015.6.21:
2015.6.21
=========
----

* Fix #31: HTML entities stay inside link.
* Fix #71: Coverage detects command line tests.
* Fix #39: Documentation update.
* Fix #61: Functionality added for optional use of automatic links.
* Feature #80: ``title`` attribute is preserved in both inline and reference links.
* Feature #82: More command line options. See docs.


2015.6.12
=========
----

* Feature #76: Making ``pre`` blocks clearer for further automatic formatting.
* Fix #71: Coverage detects tests carried out in ``subprocesses``


2015.6.6
========
----

* Fix #24: ``3.200.3`` vs ``2014.7.3`` output quirks.
* Fix #61. Malformed links in markdown output.
* Feature #62: Automatic version number.
* Fix #63: Nested code, anchor bug.
* Fix #64: Proper handling of anchors with content that starts with tags.
* Feature #67: Documentation all over the module.
* Feature #70: Adding tests for the module.
* Fix #73: Typo in config documentation.
2015-07-14 22:02:53 +00:00
schmonz
f90ae3a796 Update to 2015.4.14. From the changelog:
* Feature #56: Treat '-' file parameter as stdin.
* Feature #57: Retain escaping of html except within code or pre tags.
* Feature #59: Write image tags with height and width attrs as raw
  html to retain dimensions
2015-04-18 14:08:54 +00:00
wiz
7fd2b1de09 Update to 2015.2.18:
2015.2.18
==========
----

* Fix #38: Anchor tags with empty text or with `<img>` tags inside are no longer stripped.
2015-03-09 08:08:48 +00:00
wiz
46a5710eb4 Update to 2014.12.29:
2014.12.29
==========
----

* Feature #51: Add single line break option.
    This feature is useful for ensuring that lots of extra line breaks do not
    end up in the resulting Markdown file in situations like Evernote .enex
    exports. Note that this only works properly if ``body-width`` is set
    to ``0``.
2015-01-11 21:20:21 +00:00
wiz
cd0bcf0a7f Update to 2014.12.24:
2014.12.24
==========
----

* Feature #49: Added a images_to_alt option to discard images and keep only their alt.
* Feature #50: Protect links, surrounding them with angle brackets to avoid breaking...
* Feature: Add ``setup.cfg`` file.
2014-12-30 14:41:41 +00:00
wiz
321f0fdd6a Update to 2014.12.5:
2014.12.5
=========
----

* Feature: Update `README.md` with usage examples.
* Fix #35: Remove `py_modules` from `setup.py`.
* Fix #36: Excludes tests from being installed as a separate module.
* Fix #37: Don't hardcode the path to the installed binary.
* Fix: Readme typo in running cli.
* Feature #40: Extract cli part to ``cli`` module.
* Feature #42: Bring python version compatibility to ``compat.py`` module.
* Feature #41: Extract utility/helper methods to ``utils`` module.
* Fix #45: Does not accept standard input when running under Python 3.
* Feature: Clean up ``ChangeLog.rst`` for version and date numbers.
2014-12-07 17:27:25 +00:00
wiz
9be7c0059d Update to 2014.9.25:
2014.9.25 - 2014-09-25

* Feature #29, #27: Add simple table support with bypass option.
* Fix #20: Replace project website with: http://alir3z4.github.io/html2text/ .
2014-10-05 14:42:24 +00:00
wiz
ac3a20693a Update to 2014.9.8:
2014.9.8 - 2014-09-08
=====================
----

* Fix #28: missing ``html2text`` package in installation.
2014-09-12 06:04:36 +00:00
wiz
967d145698 Update to 2014.9.7:
2014.9.7 - 2014-09-07
* Fix ``unicode``/``type`` error in memory leak unit-test.
* Feature #16: Remove ``install_deps.py``.
* Feature #17: Add status badges via pypin.
* Feature #18: Add ``Python`` ``3.4`` to travis config file.
* Feature #19: Bring ``html2text`` to a separate module and take out the ``conf``/``constant`` variables.
* Feature #21: Remove meta vars from ``html2text.py`` file header.
* Fix: Fix TypeError when parsing tags like <img src='foo' alt>. Fixed in #25.
2014-09-07 20:25:03 +00:00
schmonz
41f66aa722 Update to 2014.7.3. From the changelog:
* Fix #8: Remove ``How to do a release`` section from README.md.
* Fix #11: Include test directory markdown, html files.
* Fix memory leak in using ``handle`` while keeping the old instance
  of ``html2text``.
2014-07-04 13:01:12 +00:00
schmonz
21925d9eed Update to 2014.4.5 (new upstream and versioning). From the git log:
* Make html2text.py compatible with python 3.*.
* PEP8ize the script.
* Switch tests to unittest (w/generated test cases).
* Remove .editorconfig.
* Remove deprecated function has_key.
* Handle invalid literals for start attribute.
* Add bodywidth parameter instead of module-wide BODY_WIDTH.
2014-04-20 01:44:53 +00:00
schmonz
0f1866f387 Update to 3.200.3. No changelog provided. Summarized highlights
from the git log:

* allow module to be imported
* set UTF-8 as default encoding
* better handling of Google Docs HTML
* better handling of more edge-case inputs
* nitpicky bugfixes to whitespace, emphasis, etc.
* new config options
2013-06-06 01:52:01 +00:00
schmonz
5868c1f8d1 Update to 3.02. From the changelog:
3.02:
* Use optparse for parsing and checking arguments
* Encode all output as UTF-8
* Accept optional encoding for local file or URL
* Use chardet for guessing local file character sets
* Fix double-newlines inside code blocks

3.01:
* Fix bug with unknown entities

3.0:
* Add forward compatibility with Python3

2.40:
* Update from sgmllib to HTMLParser so that valid XHTML doesn't fail
2011-06-09 06:21:38 +00:00
wiz
9f0696fd6a Update to 2.39:
let people grab https urls (tx Romain)
2010-09-19 14:05:35 +00:00
wiz
be237f6afa Update to 2.38:
package properly (tx Michael Jenny, Vincent Fretin)
2010-08-07 06:44:43 +00:00
wiz
296896c2c7 Update to 2.37, set LICENSE.
2009-09-14: 2.37. don't use stdout by default (tx Greg Brown)
warning: may not be backwards-compatible in some odd use cases
2009-08-10: 2.36. relative url resolution (tx Kevin North)
2010-01-20 14:34:58 +00:00
schmonz
c588f18e2a Update to 2.35. From the changelog:
* undo last change (elim extra \ns) (tx Sumit Rangwala)
2009-04-07 04:43:23 +00:00
schmonz
37b23f61ad Update to 2.34. From the changelog:
2008-10-09: 2.34. elim extra \ns (tx Keith Bussell)
2008-09-19: 2.33. add support for abbr (tx Nathan Youngman)
2008-07-31: 2.32. fix parsing bug with fastcompany (tx Elias Soong)
2008-10-19 18:39:56 +00:00
schmonz
a0425f350e Update to 2.31:
* fix unicode support (tx John Chapman)
2008-07-31 02:47:45 +00:00
schmonz
b9d10976ae Update to 2.3. From the changelog:
- add SKIP_INTERNAL_LINKS (tx Christian Siefkes)
- prelim JS support, various fixes, improved performances (tx Johannes Fitz)
2008-06-01 04:52:15 +00:00
schmonz
da8980a717 Update to 2.291:
- add shbang, fix wrapping (tx Christian Siefkes)
2008-04-28 22:51:30 +00:00
schmonz
aed9fe0a7a Update to 2.29. From the changelog:
* fix degenerate sites (cough 9rules) that don't close head tags
* fix crash when feedparser wasn't available (tx Johann Burkard)
2008-02-19 10:31:53 +00:00
wiz
7bea590837 Update to 2.28. Simplify package.
Changes:
2007-04-12: 2.28. fix tables (tx Pete Savage)
2007-04-09: 2.27. fix line breaks (tx Danny O'Brien)
2007-02-23: 2.26. input unicode better (tx John Cavanaugh for the push)
2007-06-08 11:39:02 +00:00
schmonz
9647cc5421 Apply small cleanup patch from Debian. Bump PKGREVISION. 2007-01-19 00:55:06 +00:00
schmonz
567fad1c02 Update to 2.25. From the changelog:
* output unicode better (tx s s)
2007-01-18 22:31:17 +00:00
schmonz
32389d693f Update to 2.24, providing preliminary support for dt/dd. 2006-03-01 23:25:32 +00:00
schmonz
64d83aad6b Initial import of html2text, a Python script that convers a page
of HTML into clean, easy-to-read plain ASCII text. Better yet, that
ASCII also happens to be valid Markdown (a text-to-HTML format).
2005-12-03 00:47:04 +00:00