Skip to content

Commit c31d41e

Browse files
committed
Merge branch 'release/2.3.14'
2 parents ae3504f + cd1ea0f commit c31d41e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.textile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
h1. Textile Changelog
22

3+
h2. Version 2.3.14
4+
* Bugfix: Fix textile on Python 2.6 ("#48":https://github.com/textile/python-textile/issues/48)
5+
36
h2. Version 2.3.13
47
* Remove extraneous arguments from textile method. These were originally added long ago to work with django, but markup languages are long gone from django.
58
* Bugfix: Don't mangle percent-encoded URLs so much. ("#45":https://github.com/textile/python-textile/issues/45)

textile/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def list_type(list_string):
111111
def normalize_newlines(string):
112112
out = string.strip()
113113
out = re.sub(r'\r\n?', '\n', out)
114-
out = re.sub(r'^[ \t]*\n', '\n', out, flags=re.M)
114+
out = re.compile(r'^[ \t]*\n', flags=re.M).sub('\n', out)
115115
out = re.sub(r'"$', '" ', out)
116116
return out
117117

textile/version.py

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

0 commit comments

Comments
 (0)