aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-02-12 13:01:39 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-02-12 13:01:39 +0400
commitc6e3798f74ae98a96781e80f134742bcb60d3946 (patch)
treec04e4a77af5b13c9133147d3a8a4aedf65377c70
parent11594ebe857234a8e872c4220ea19781959cc745 (diff)
downloadmarkdown-c6e3798f74ae98a96781e80f134742bcb60d3946.tar.gz
markdown-c6e3798f74ae98a96781e80f134742bcb60d3946.tar.bz2
markdown-c6e3798f74ae98a96781e80f134742bcb60d3946.zip
Fix some tests failures
-rw-r--r--markdown/extensions/codehilite.py2
-rw-r--r--tests/extensions/extra/tables_and_attr_list.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py
index 9f99518..428bd0c 100644
--- a/markdown/extensions/codehilite.py
+++ b/markdown/extensions/codehilite.py
@@ -42,7 +42,7 @@ def parse_hl_lines(expr):
return []
try:
- return map(int, expr.split())
+ return list(map(int, expr.split()))
except ValueError:
return []
diff --git a/tests/extensions/extra/tables_and_attr_list.html b/tests/extensions/extra/tables_and_attr_list.html
index 7d2451b..1924389 100644
--- a/tests/extensions/extra/tables_and_attr_list.html
+++ b/tests/extensions/extra/tables_and_attr_list.html
@@ -15,4 +15,4 @@
<td class="foo bar" title="Some title!">Content Cell</td>
</tr>
</tbody>
-</table>
+</table> \ No newline at end of file