Skip to content

Commit ffd5c18

Browse files
committed
Merge branch 'release/2.2.1'
2 parents 8a17e05 + 275bbc7 commit ffd5c18

8 files changed

Lines changed: 29 additions & 7 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
- "3.4"
88
# command to install dependencies
99
install:
10-
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]] ; then pip install ordereddict; fi
1110
- pip install -r requirements.txt
11+
- python setup.py -q install
1212
# command to run tests
1313
script: nosetests

CHANGELOG.textile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
h1. Textile Changelog
2+
3+
h1. Version 2.2.1
4+
5+
* drop textilefactory support for html.
6+
* Various development-related bugfixes.
7+
* Added this changelog.
8+
9+
h1. Version 2.2.0
10+
11+
* Started refactoring the code to be less repetitive. @textile.Textile().parse()@ is a little more friendly than @textile.Textile().textile()@ There may be more work to be done on this front to make the flow a little smoother.
12+
* We now support versions 2.6 - 3.4 (including 3.2) using the same codebase. Many thanks to Radek Czajka for this.
13+
* Drop support for html4. We now only output xhtml or html5.
14+
* Various development-related bugfixes.
15+
16+
h1. Version 2.1.8
17+
18+
* Add support for html5 output.
19+
* Lots of new functionality added bringing us in line with the official Textile 2.4

README.textile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
!https://travis-ci.org/textile/python-textile.svg?branch=develop!:https://travis-ci.org/textile/python-textile
2+
13
h1. python-textile
24

35
python-textile is a Python port of Textile, Dean Allen's humane web text generator.

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
nose==1.3.4
22
coverage==3.7.1
33
html5lib==0.999
4-
regex==2014.10.07
54
Pillow==2.6.0

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ cover-package=textile
55
cover-erase=1
66
with-doctest=1
77
with-id = 1
8+
[bdist_wheel]
9+
universal=1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_version():
2626
name='textile',
2727
version=get_version(),
2828
description='Textile processing for python.',
29-
url='http://github.com/ikirudennis/python-textile',
29+
url='http://github.com/textile/python-textile',
3030
packages=find_packages(),
3131
classifiers=[
3232
'Development Status :: 5 - Production/Stable',

textile/textilefactory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TextileFactory(object):
3131
>>> f = TextileFactory(html_type='invalid')
3232
Traceback (most recent call last):
3333
...
34-
ValueError: html_type must be 'html', 'xhtml', or 'html5'
34+
ValueError: html_type must be 'xhtml' or 'html5'
3535
3636
3737
"""
@@ -67,8 +67,8 @@ def __init__(self, restricted=False, lite=False, sanitize=False,
6767
else:
6868
self.method_parms['head_offset'] = head_offset
6969

70-
if html_type not in ['html', 'xhtml', 'html5']:
71-
raise ValueError("html_type must be 'html', 'xhtml', or 'html5'")
70+
if html_type not in ['xhtml', 'html5']:
71+
raise ValueError("html_type must be 'xhtml' or 'html5'")
7272
else:
7373
self.class_parms['html_type'] = html_type
7474

textile/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '2.2.0'
1+
VERSION = '2.2.1'

0 commit comments

Comments
 (0)