Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added how to use with web link in documentation. #129

Open
wants to merge 613 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
613 commits
Select commit Hold shift + click to select a range
8274e9d
- Fix for #106
theSage21 Mar 7, 2016
82aec92
Add to changelog
theSage21 Apr 1, 2016
e635455
Merge pull request #124 from theSage21/master
Alir3z4 Apr 1, 2016
cff6d96
Bump version 2016.4.2
Alir3z4 Apr 1, 2016
ebab5bc
do not break words to wrap paragraph (#128)
May 27, 2016
5672e2d
Deprecation warning for retrieval over internet
theSage21 May 27, 2016
258b223
Merge branch 'master' of https://github.com/Alir3z4/html2text into pl…
theSage21 May 27, 2016
7c8c5ae
Added failing tests for #114
theSage21 May 27, 2016
210869d
Fixed tests
theSage21 May 27, 2016
8ccd470
- Pull out common try:except for unicode characters to avoid repetition
theSage21 May 27, 2016
3950277
Changelog update
theSage21 May 27, 2016
7569dfb
Pad tables CLI option
theSage21 May 28, 2016
e714f1f
Pad tables option in parser
theSage21 May 28, 2016
b68c9bb
Pad table utility functions
theSage21 May 28, 2016
b4b7634
PAD_TABLES default is off
theSage21 May 28, 2016
442c65d
added tests
theSage21 May 28, 2016
01cf8ae
Changelog update
theSage21 May 28, 2016
a914186
Fixed set definition for backward compatibility
theSage21 May 28, 2016
bbe01a7
Fixed set definition for backward compatibility
theSage21 May 28, 2016
2aafc23
Merge branch 'master' of github.com:theSage21/html2text
theSage21 May 28, 2016
75030ea
Add pad_table flag to test runner
theSage21 May 28, 2016
ff58b47
Remove table marker regex
theSage21 May 28, 2016
0a7bdb5
Test shows off the padding
theSage21 May 28, 2016
5c57c26
More varied tests
theSage21 May 28, 2016
1b78d10
Tag based table detection
theSage21 May 28, 2016
f84b591
reformatting adds space after table.
theSage21 May 28, 2016
e1872ba
- change pad_tables to pad-tables in the cli option
theSage21 May 29, 2016
df1d723
Table padding option (#130)
theSage21 May 29, 2016
ffce225
Fix a typo on ChangeLog
Alir3z4 May 29, 2016
7478af8
Remove Python 3.1 from the classifiers
Alir3z4 May 29, 2016
751d1ce
Bump the version to today for release
Alir3z4 May 29, 2016
0e8caba
CSS case-insensitive fix (#134)
gaulinmp Jun 22, 2016
04c005c
Merge branch 'master' of github.com:Alir3z4/html2text
theSage21 Jun 28, 2016
b4c600a
add option to ignore tables (#135)
Jun 29, 2016
0add206
- Added tests for default image alt text
theSage21 Jul 9, 2016
947a7e5
Mention image-alt fix in changelog
theSage21 Jul 9, 2016
64fe95e
Remove check for '/script>' in handle_data to fix #133 (#137)
gilessbrown Jul 9, 2016
ab973d0
Added default-image-alt to docs
theSage21 Jul 9, 2016
a4f975d
Added #137 to changelog
theSage21 Jul 9, 2016
e5fd147
Fix tests which broke on backward compatibility
theSage21 Jul 10, 2016
6da08ee
Update changelog with default image alt as empty
theSage21 Jul 10, 2016
d842807
Merge pull request #138 from theSage21/master
Alir3z4 Jul 10, 2016
d3247c2
Fix DeprecationWarning on Python3: use html.escape (#126)
brutasse Jul 20, 2016
1beb8c6
Update for #126
theSage21 Jul 25, 2016
d1aa1af
Docs link
theSage21 Aug 31, 2016
6e097d0
Trying to fix Travis CI build for Python 2.6 (#145)
Alir3z4 Sep 15, 2016
28f688f
Add vscode project conf to be ignored
Alir3z4 Sep 18, 2016
ba5e670
Bump the version number for a release
Alir3z4 Sep 18, 2016
83e53ad
Fix typos
jwilk Mar 5, 2017
00951d8
Merge pull request #154 from jwilk/spelling
Alir3z4 Mar 6, 2017
b825e34
Placeholder for future changelogs
Alir3z4 Mar 16, 2017
3b6f059
fix images link with div wrap
Mar 15, 2017
ce7ab6a
Add https://github.com/Alir3z4/html2text/pull/157 to changelog
Mar 16, 2017
69f94d3
Update ChangeLog.rst
Alir3z4 Mar 16, 2017
072fe4f
Merge pull request #157 from phuslu/master
Alir3z4 Mar 16, 2017
2daf4e5
Fixed issue #55: Error when empty title on <a> tag
Mar 24, 2017
03d4459
Added info to authors and changelogs files
Mar 24, 2017
d37b041
Added basic unit testing
Mar 24, 2017
db6c01b
Merge pull request #159 from andreskrey/issue-55-empty-title-tags
Alir3z4 Mar 25, 2017
f060da2
fix the test failures on windows/cygwin due to \r
ciprianmiclaus2 Apr 21, 2017
ee48620
updated AUTHORS and Changelog docs
ciprianmiclaus2 Apr 21, 2017
1f3ccc5
cleanup a commented line
ciprianmiclaus2 Apr 24, 2017
8bedca5
Merge pull request #161 from ciprianmiclaus/fix_tests
Alir3z4 Apr 24, 2017
ab8f628
Merge pull request #1 from Alir3z4/master
ciprianmiclaus2 Apr 24, 2017
2a81874
fix flake8 violations (no functional changes)
ciprianmiclaus2 May 2, 2017
a6606e9
add flake8 to the travis build
ciprianmiclaus2 May 2, 2017
c047cca
Merge branch 'master' of https://github.com/ciprianmiclaus/html2text …
ciprianmiclaus2 May 2, 2017
f5e45ff
Merge pull request #165 from ciprianmiclaus/fix_tests
Alir3z4 May 24, 2017
1d2b437
Use setuptools<30 on Py3.2 as support was dropped in later versions (…
ciprianmiclaus2 Jun 14, 2017
ba032c5
Fix #109: Fix for unexpanded &lt; &gt; &amp; (#169)
ciprianmiclaus2 Jun 15, 2017
7ae0a2f
Fix #143: Fix line wrapping for the lines starting with **bold**
tos-kamiya Jun 25, 2017
513bd4f
pep8 issue
tos-kamiya Jun 25, 2017
54976f1
Merge pull request #172 from tos-kamiya/fix-issue-143
Alir3z4 Jun 26, 2017
0d93c80
adds support for "700", "800", and "900" as bold style indicators
mattdennewitz Jul 27, 2017
9076273
moves changelog note into `0000.00.00` range. bold check made implicit.
mattdennewitz Jul 28, 2017
0ea76a4
Merge pull request #175 from mattdennewitz/implement-numeric-bold-sty…
Alir3z4 Jul 28, 2017
b2765e2
Fix issue with emphasis and whitespace
jonathan-s Aug 11, 2017
faf0e6b
Merge branch 'master' into emphasis-fix
jonathan-s Aug 11, 2017
a18c358
Flake fix
jonathan-s Aug 11, 2017
5aa7c11
Better styling and increase test cases
jonathan-s Aug 12, 2017
32fcace
Merge pull request #177 from jonathan-s/emphasis-fix
Alir3z4 Aug 13, 2017
652d4f3
Refactor imports and title for links
jonathan-s Aug 14, 2017
aa67e1c
Merge pull request #180 from jonathan-s/import-refactoring
Alir3z4 Aug 17, 2017
d9a3726
semi-gracefully handle colspan attributes on tables when padding
DrMeers Sep 6, 2017
b96b388
update authors/changelog as per contribution guidelines
DrMeers Sep 6, 2017
686e7ba
include test for shorter opening row
DrMeers Sep 6, 2017
fc88ba9
remove redundant length calculations. See #183
DrMeers Sep 8, 2017
1317a98
Merge pull request #183 from DrMeers/colspan
Alir3z4 Sep 8, 2017
e330da7
Update the version to the latest and getting it ready to release
Alir3z4 Oct 4, 2017
ce2c7e4
fix bug #188
Nov 1, 2017
97b9d2f
fix visual indent
Nov 1, 2017
d88efc1
import unicode_literals
Nov 24, 2017
6e46640
Merge pull request #190 from whuream/master
Alir3z4 Nov 24, 2017
b7d4758
Support the <kbd> tag
kurtmckee Dec 25, 2017
9ef3b55
Merge pull request #194 from kurtmckee/support-the-kbd-tag
Alir3z4 Jan 6, 2018
8673bdc
Support the <q> tag
kurtmckee Dec 24, 2017
ba2bec7
Allow users to configure quote characters
kurtmckee Jan 7, 2018
64e5773
Fix unit test errors found by Travis CI
kurtmckee Jan 7, 2018
82544d4
Document the new options related to the <q> tag
kurtmckee Jan 9, 2018
2811849
Merge pull request #193 from kurtmckee/support-the-q-tag
Alir3z4 Jan 9, 2018
eb9a348
Update ChangeLog.rst
Alir3z4 Jan 9, 2018
d903cf6
Update versions to latest
Alir3z4 Jan 9, 2018
bef7ec0
update version to the correct one
Alir3z4 Jan 10, 2018
be182cb
Add usage documentation for emphasis_mark and strong_mark
elebow Jun 29, 2018
c32dffa
Merge pull request #203 from elebow/add-usage-docs-em-strong-marks
Alir3z4 Jul 7, 2018
40a9c61
Fix handling &lrm; and &rlm; marks
Unit03 Jul 14, 2018
f62100c
Update AUTHORS
Unit03 Jul 15, 2018
f8fda1d
Add support for wrapping list items
GermainZ Oct 20, 2018
4a73e64
`images_as_html` control
jvanasco Oct 22, 2018
5a64a5d
Add missing space in decoding error message
jwilk Dec 3, 2018
45a71e0
Simplify decoding
jwilk Dec 3, 2018
ced1b06
Travis CI: Add Python 3.7 to testing
cclauss Jan 7, 2019
b7495c9
Drop Python 3.2 support to satisfy Cython
cclauss Jan 7, 2019
cf2c47f
Merge pull request #221 from cclauss/patch-1
Alir3z4 Jan 7, 2019
d595ac2
Merge pull request #219 from jwilk-forks/decode
Alir3z4 Jan 7, 2019
2e8dba3
Merge pull request #218 from jwilk-forks/spelling
Alir3z4 Jan 7, 2019
13cdc9b
Merge pull request #215 from jvanasco/feature-images_as_html
Alir3z4 Jan 7, 2019
1a3eea4
Merge branch 'master' into lrm
Alir3z4 Jan 7, 2019
724be22
Merge pull request #206 from Unit03/lrm
Alir3z4 Jan 7, 2019
2880e95
Merge branch 'master' into master
Alir3z4 Jan 7, 2019
a9a6133
Merge pull request #214 from GermainZ/master
Alir3z4 Jan 7, 2019
bf9360f
Fix change log version name
marksweb Feb 22, 2019
53497e7
Use HTTPS in docs and comments where available
jdufresne Feb 23, 2019
224fcb6
Mark wheel as universal
jdufresne Feb 23, 2019
d955dd6
Correct capitalization of PyPI as spelled on https://pypi.org/
jdufresne Feb 23, 2019
2973cd7
Update all pypi.python.org URLs to pypi.org
jdufresne Feb 23, 2019
680b2c9
Fix flake8 warnings to get Travis to be green
jdufresne Feb 23, 2019
9e8f744
Drop support for EOL Pythons
jdufresne Feb 23, 2019
c7c2ef5
Remove unused py from requirements-dev.txt
jdufresne Feb 23, 2019
a28342f
Merge pull request #224 from jdufresne/eol
Alir3z4 Feb 25, 2019
0314545
Merge pull request #223 from marksweb/fix/196
Alir3z4 Feb 25, 2019
bacce9c
Merge pull request #225 from jdufresne/https
Alir3z4 Feb 25, 2019
a80ef0c
Merge pull request #226 from jdufresne/universal
Alir3z4 Feb 25, 2019
5c6a372
Merge pull request #227 from jdufresne/pypi
Alir3z4 Feb 25, 2019
aaef1f4
Merge branch 'master' into new-pypi
Alir3z4 Feb 25, 2019
5a97a2a
Merge pull request #228 from jdufresne/new-pypi
Alir3z4 Feb 25, 2019
287da08
Merge branch 'master' into py
Alir3z4 Feb 25, 2019
77d99cc
Merge pull request #234 from jdufresne/py
Alir3z4 Feb 25, 2019
de20206
Fix flake8 warning by using a short link
jdufresne Feb 25, 2019
1435436
Remove unused and unnecessary logging from tests
jdufresne Feb 23, 2019
22b2a43
Remove unnecessary `description-file = README.md` from setup.cfg
jdufresne Feb 23, 2019
b6965a7
Remove long deprecated support for retrieving HTML over the network
jdufresne Feb 23, 2019
5877371
Add a __main__.py file to the package
jdufresne Feb 25, 2019
6913650
Remove unused options from setup.py
jdufresne Feb 26, 2019
17b4f29
Remove unused get_dump_name()
jdufresne Feb 26, 2019
61d668f
Enable pip cache in Travis CI
jdufresne Feb 26, 2019
2d3ef00
Use False (not 0) in config.py
jdufresne Feb 26, 2019
46ecef3
Fix extra space after a stressed tag followed by an entity
jdufresne Feb 27, 2019
bf87d8a
Add tox.ini to easily test all platforms locally
jdufresne Feb 27, 2019
e0c2957
Add myself as a contributor
jdufresne Feb 27, 2019
685d3f3
Merge pull request #248 from jdufresne/contrib
Alir3z4 Feb 27, 2019
975819b
Run all argument-less tests as a func test
jdufresne Feb 27, 2019
6de63e1
Correct fixed-space literal rst syntax
jdufresne Feb 28, 2019
b616e5b
Correct default tox matrix
jdufresne Feb 28, 2019
5443b50
Remove unused unescape() function and related support code
jdufresne Feb 27, 2019
c8c2bcc
Simplify subprocess call in tests with subprocess.check_output()
jdufresne Feb 28, 2019
0fbb834
Remove unused method unknown_decl
jdufresne Feb 28, 2019
c84c168
Fix ticket number in changelog
jdufresne Mar 1, 2019
52bfc27
Merge pull request #254 from jdufresne/unused
Alir3z4 Mar 1, 2019
57de752
Handle LEFT-TO-RIGHT MARK after a `<b>` tag
jdufresne Feb 28, 2019
fd669a7
Use pytest to run the test suite
jdufresne Feb 27, 2019
ca32fb8
Remove 'pragma' comments for a more accurate coverage report
jdufresne Mar 2, 2019
ce7fb97
Replace 0/1 with False/True when used as a bool
jdufresne Mar 2, 2019
74a89a9
Remove shebang from __init__.py
jdufresne Mar 2, 2019
26e9866
Introduce isort for automated consistent sorting of Python imports
jdufresne Mar 2, 2019
8194cda
Introduce black to automate Python code formatting
jdufresne Mar 2, 2019
3c70574
Merge pull request #260 from jdufresne/bool
Alir3z4 Mar 6, 2019
41cf568
Merge pull request #255 from jdufresne/fix-lrm
Alir3z4 Mar 6, 2019
352a621
Merge pull request #258 from jdufresne/pragma
Alir3z4 Mar 6, 2019
ace000a
Merge branch 'master' into black
Alir3z4 Mar 6, 2019
0f5968f
Fix the black formatting
Alir3z4 Mar 6, 2019
ef80616
Merge pull request #259 from jdufresne/black
Alir3z4 Mar 6, 2019
c453f22
Remove unnecessary coerce to unicode()
jdufresne Mar 2, 2019
788c52f
Use dict comprehension to build unifiable_n data structure
jdufresne Mar 2, 2019
6cbe2b6
Fix description of --no-wrap-links in help message
jwilk Jun 7, 2019
83e27aa
Pass extra tox cli args to tox
jdufresne Jun 26, 2019
3697acd
Merge pull request #270 from jdufresne/posargs
Alir3z4 Jul 14, 2019
01f8db6
Use bool in HTML2Text.o() rather than int 0/1
jdufresne Aug 1, 2019
41d4de8
Simplify the return of boolean expressions
jdufresne Aug 1, 2019
34e34ac
Remove unused temporary variables that are immediately returned
jdufresne Aug 1, 2019
f43c672
Simplify hn() function
jdufresne Aug 1, 2019
c4bc42f
Remove unnecessary duplicate call to name2cp()
jdufresne Jul 31, 2019
1d21d5f
Update version to 2019.8.11
Alir3z4 Aug 11, 2019
5f895e9
Leave blank place for new changelog
Alir3z4 Aug 11, 2019
da9e86f
Fix long blockquotes wrapping (#272)
hsmett Aug 11, 2019
e9c2615
Update changelog for #272
Alir3z4 Aug 11, 2019
b361467
Remove support for Python ≤ 3.4
jdufresne Jul 31, 2019
23429ae
Simplify pareviousIndex by using enumerate()
jdufresne Aug 11, 2019
f7c0dcc
Simplify entityref()
jdufresne Aug 11, 2019
30cf882
Use bool for handle_tag() start argument
jdufresne Aug 12, 2019
a2dbf25
Remove unnecessary parenthesis
jdufresne Aug 13, 2019
0a2b456
Specify a target version for black in tox.ini
jdufresne Aug 13, 2019
7e31444
Fix memory link when processing an abbr tag
jdufresne Aug 13, 2019
4377506
Correct nested list syntax in changelog
jdufresne Sep 25, 2019
30402ae
Correct typo in changelog: "memory link" → "memory leak"
jdufresne Sep 25, 2019
b8576ea
Merge pull request #281 from jdufresne/enum
Alir3z4 Sep 25, 2019
db793dc
Document bug fixes in upcoming release
jdufresne Sep 26, 2019
ff4b98c
Update version to 2019.9.26
jdufresne Sep 26, 2019
8311366
Remove unused and unmaintained requirements-dev.txt file
jdufresne Sep 26, 2019
0005069
Simplify expression to avoid unnecessary loop
jdufresne Oct 9, 2019
a80aad8
Use relative imports internally
jdufresne Oct 9, 2019
10171cf
Use mypy to do static type checking of html2text
jdufresne Aug 13, 2019
9513634
Xenial is now the default on Travis
jdufresne Oct 12, 2019
c5017c4
Update PyPy3 on Travis
jdufresne Oct 12, 2019
bbaf737
Test on upcoming Python 3.8
jdufresne Oct 12, 2019
3af1738
Test on Python 3.8 final
jdufresne Oct 29, 2019
2d2c702
Use setuptools declarative syntax through setup.cfg
jdufresne Oct 29, 2019
bd982bd
Speed up skipwrap function
francoisfreitag Jan 16, 2020
15b308d
Test the --unicode-snob CLI argument
jdufresne Jan 12, 2020
c068176
Prepare for the next release
jdufresne Jan 16, 2020
058d6df
Make padded tables more similar to pandoc's pipe_tables
ulodciv Mar 3, 2020
61df235
Update pad_table.md
ulodciv Mar 3, 2020
8c847bf
Update ChangeLog.rst
Alir3z4 Mar 4, 2020
11037ff
Merge pull request #319 from Alir3z4/Add-unrelease-section-readme
Alir3z4 Mar 4, 2020
21404a2
Merge pull request #318 from ulodciv/patch-1
Alir3z4 Mar 4, 2020
24aac86
Update changelog with pull request #318
Alir3z4 Mar 4, 2020
f6ffd74
Tests for emphasis around whitespace
EdwardJRoss Aug 4, 2020
0641b15
Only insert one space when multiple emphasis
EdwardJRoss Aug 4, 2020
2fea4b7
Update changelog.rst
EdwardJRoss Aug 4, 2020
c18484a
Append extra whitespace to preceding data when output.
EdwardJRoss Aug 4, 2020
d21a550
Add path for isort in tox
EdwardJRoss Aug 4, 2020
f76d71d
Simplify and update lint configurations
jdufresne Sep 1, 2020
c09d1c1
Don't add line breaks inside link names
mborsetti Nov 1, 2020
bad6051
Support Python 3.9
mborsetti Nov 1, 2020
296e6f2
Merge pull request #340 from mborsetti/3.9
Alir3z4 Nov 1, 2020
8bbd2fc
Capture instance of <hn> tags inside links (found in the wild)
mborsetti Nov 15, 2020
27db55f
Correctly handle <hn> tags inside <a> href links (as found in the wild)
mborsetti Nov 15, 2020
37504a0
Replace '' with "" to satisfy black in Travis CI
mborsetti Nov 15, 2020
0307527
Merge remote-tracking branch 'upstream/master' into link_names
mborsetti Nov 20, 2020
4235c1a
Merge pull request #339 from mborsetti/link_names
Alir3z4 Nov 29, 2020
8c8f5ec
indent <ul> inside <ol> three spaces instead of two
snarfed Dec 6, 2020
ebfd3e5
Merge branch 'master' into master
Alir3z4 Mar 10, 2021
4592133
Merge pull request #345 from snarfed/mixed-nested-lists
Alir3z4 Mar 10, 2021
d127b77
omit unnecessary spaces around <b>, <em>, and <strike>
snarfed Dec 6, 2020
ec057f8
Don't wrap tables by default
gpanders Apr 19, 2021
28945e6
Add ignore_mailto_links config option
gpanders Apr 19, 2021
f0d83e2
Merge pull request #333 from EdwardJRoss/master
Alir3z4 May 5, 2021
8d7dc2f
Merge pull request #342 from snarfed/no-inline-space
Alir3z4 May 5, 2021
da2ab68
Merge branch 'master' into no-wrap-tables
Alir3z4 May 5, 2021
6cdb234
Merge pull request #353 from gpanders/no-wrap-tables
Alir3z4 May 5, 2021
15d74ec
fix test failure introduced in #342
snarfed May 5, 2021
95042c6
Merge pull request #357 from snarfed/no-inline-space-fix-tests
Alir3z4 May 5, 2021
04fd51a
Merge branch 'master' into ignore-mailto-links
Alir3z4 May 6, 2021
2f5de00
FIX issue #320 crashes when padding empty table
mpodolsk-cisco Jun 8, 2021
5a0ae75
doc update
mpodolsk-cisco Jun 8, 2021
bcc1288
flake8 lint
mpodolsk Jun 8, 2021
e3ea63c
Merge pull request #361 from mpodolsk/master
Alir3z4 Jun 12, 2021
936e8eb
Merge branch 'master' into ignore-mailto-links
Alir3z4 Jun 12, 2021
2ee4495
Merge pull request #356 from gpanders/ignore-mailto-links
Alir3z4 Jun 13, 2021
443e409
update to readme
fanbyprinciple Feb 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
*.py[co]
*.bak
test/*output.md
build
dist
*.egg-info
.idea
.coverage
.coverage.*
env/
.c9/
.vscode
.tox/
htmlcov/
.mypy_cache/
38 changes: 32 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "pypy"
script: cd test/; python run_tests.py
cache: pip

matrix:
include:
- python: "3.7"
env: TOXENV=black
- python: "3.7"
env: TOXENV=flake8
- python: "3.7"
env: TOXENV=mypy
- python: "3.7"
env: TOXENV=isort
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- python: 3.9
env: TOXENV=py39
- python: "pypy3"
env: TOXENV=pypy3

install:
- pip install tox
script:
- tox
after_success:
- pip install coveralls
- coveralls
41 changes: 41 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
``html2text`` was originally written by Aaron Swartz.

The AUTHORS/Contributors are (and/or have been):

* Aaron Swartz
* Yariv Barkan
* Alex Musayev
* Matěj Cepl
* Stefano Rivera
* Alireza Savand <[email protected]>
* Ivan Gromov <[email protected]>
* Jocelyn Delalande <[email protected]>
* Matt Dorn <[email protected]>
* Miguel Tavares <[email protected]>
* Scott Blackburn <[email protected]>
* Peter Wu <[email protected]>
* Arjoonn Sharma <gh: theSage21>
* Ali Mohammad <gh: alawibaba>
* Albert Berger <gh: nbdsp>
* Etienne Millon <[email protected]>
* John C F <gh: critiqjo>
* Mikhail Melnik <[email protected]>
* Andres Rey
* Ciprian Miclaus
* Toshihiro Kamiya <[email protected]>
* Matt Dennewitz <[email protected]>
* Jonathan Sundqvist <[email protected]>
* Simon Meers <gh: DrMeers>
* Kurt McKee <[email protected]>
* Germain Z. <gh: GermainZ>
* Jacek Kołodziej <[email protected]>
* Jonathan Vanasco <[email protected]>
* Jon Dufresne <[email protected]>
* Edward Ross <[email protected]>
* Mike Borsetti
* Gregory Anders <[email protected]>
* Maciej Podolski https://github.com/mpodolsk

Maintainer:

* Alireza Savand <[email protected]>
274 changes: 274 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
UNRELEASED
==========
----

* Fix #332: Insert at most one space for multiple emphasis
* Feature #318: Make padded tables more similar to pandoc's pipe_tables.
* Add support for Python 3.9.
* Fix extra line breaks inside html link text (between '[' and ']')
* Fix #344: indent ``<ul>`` inside ``<ol>`` three spaces instead of two to comply with CommonMark, GFM, etc.
* Fix #324: unnecessary spaces around ``<b>``, ``<em>``, and ``strike`` tags.
* Don't wrap tables by default and add a ``--wrap-tables`` config option
* Fix #320 padding empty tables and tables with no </tr> tags.
* Add ``ignore_mailto_links`` config option to ignore ``mailto:`` style links.


2020.1.16
=========
----

* Add type annotations.
* Add support for Python 3.8.
* Performance improvements when ``wrap_links`` is ``False`` (the default).
* Configure setuptools using setup.cfg.


2019.9.26
=========
----

* Fix long blockquotes wrapping.
* Remove the trailing whitespaces that were added after wrapping list items & blockquotes.
* Remove support for Python ≤ 3.4. Now requires Python 3.5+.
* Fix memory leak when processing a document containing a ``<abbr>`` tag.
* Fix ``AttributeError`` when reading text from stdin.
* Fix ``UnicodeEncodeError`` when writing output to stdout.


2019.8.11
=========
----

* Add support for wrapping list items.
* Fix #201: handle &lrm;/&rlm; marks mid-text within stressed tags or right after stressed tags.
* Feature #213: ``images_as_html`` config option to always generate an ``img`` html tag. preserves "height", "width" and "alt" if possible.
* Remove support for end-of-life Pythons. Now requires Python 2.7 or 3.4+.
* Remove support for retrieving HTML over the network.
* Add ``__main__.py`` module to allow running the CLI using ``python -m html2text ...``.
* Fix #238: correct spacing when a HTML entity follows a non-stressed tags which follow a stressed tag.
* Remove unused or deprecated:

* ``html2text.compat.escape()``
* ``html2text.config.RE_UNESCAPE``
* ``html2text.HTML2Text.replaceEntities()``
* ``html2text.HTML2Text.unescape()``
* ``html2text.unescape()``

* Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag.


2018.1.9
========
----

* Fix #188: Non-ASCII in title attribute causes encode error.
* Feature #194: Add support for the <kbd> tag.
* Feature #193: Add support for the <q> tag.


2017.10.4
==========
----

* Fix #157: Fix images link with div wrap
* Fix #55: Fix error when empty title tags
* Fix #160: The html2text tests are failing on Windows and on Cygwin due to differences in eol handling between windows/*nix
* Feature #164: Housekeeping: Add flake8 to the travis build, cleanup existing flake8 violations, add py3.6 and pypy3 to the travis build
* Fix #109: Fix for unexpanded &lt; &gt; &amp;
* Fix #143: Fix line wrapping for the lines starting with bold
* Adds support for numeric bold text indication in ``font-weight``,
as used by Google (and presumably others.)
* Fix #173 and #142: Stripping whitespace in crucial markdown and adding whitespace as necessary
* Don't drop any cell data on tables uneven row lengths (e.g. colspan in use)


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.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.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.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~~.


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.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.4.14
=========
----


* Feature #59: Write image tags with height and width attrs as raw html to retain dimensions


2015.4.13
=========
----


* Feature #56: Treat '-' file parameter as stdin.
* Feature #57: Retain escaping of html except within code or pre tags.


2015.2.18
=========
----

* Fix #38: Anchor tags with empty text or with ``<img>`` tags inside are no longer stripped.


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``.


2014.12.24
==========
----

* Feature #49: Added an 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.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.9.25
=========
----

* Feature #29, #27: Add simple table support with bypass option.
* Fix #20: Replace project website with: https://alir3z4.github.io/html2text/ .


2014.9.8
========
----

* Fix #28: missing ``html2text`` package in installation.


2014.9.7
========
----

* 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.7.3
========
----

* Fix #8: Remove ``How to do a release`` section from README.md.
* Fix #11: Include test directory markdown, html files.
* Fix #13: memory leak in using ``handle`` while keeping the old instance of ``html2text``.


2014.4.5
========
----

* Fix #1: Add ``ChangeLog.rst`` file.
* Fix #2: Add ``AUTHORS.rst`` file.
4 changes: 4 additions & 0 deletions ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

- Version by `html2text --version`
- Test script
- Python version `python --version`
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
include COPYING
include README.md
include ChangeLog.rst
include AUTHORS.rst
include tox.ini
recursive-include test *.html *.md *.py
Loading