Skip to content

Commit

Permalink
Release version 0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed May 21, 2020
1 parent ba7a03e commit 02fa857
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dist: xenial
language: python

python:
- 3.6
- 3.7
- 3.8

install:
- pip install .[dev]
Expand Down
12 changes: 7 additions & 5 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
Changelog
#########

next
====
0.3 (May 21, 2020)
==================

* Fix escaping HTML entities in text (e.g. convert < to &lt;).
* Better support for paragraphs.
* Fix escaping HTML entities in text (e.g. convert ``<`` to ``&lt;``).
* Handling of paragraphs and multiple line breaks has been greatly improved.
* Links now include a ``title`` attribute and are properly capitalized.
* Properly handle self-closing tags (e.g. ``<hr />``).
* Properly strip comments instead of propagating them to the output.
* Descriptions lists with details are properly handled.
* Comments are ignored instead of propagating them to the output.
* The composer no longer supports a streaming interface.
* Basic type hints are included.

0.2.1 (June 26, 2019)
=====================
Expand Down
2 changes: 1 addition & 1 deletion mwcomposerfromhell/composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self,
# The base URL should be the root that articles sit in.
self._base_url = base_url.rstrip('/')

self._pending_lists = [] # type: List[Tuple[str, str]]
self._pending_lists = [] # type: List[str]

# Track the currently open tags.
self._stack = [] # type: List[str]
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def long_description():

setup(
name='mwcomposerfromhell',
version='0.2.2dev',
version='0.3',
packages=find_packages(exclude=('tests', )),
description='Convert the parsed MediaWiki wikicode (using mwparserfromhell) to HTML.',
long_description=long_description(),
Expand All @@ -25,6 +25,7 @@ def long_description():
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: ISC License (ISCL)',
],
install_requires=[
Expand Down

0 comments on commit 02fa857

Please sign in to comment.