aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2014-02-12 12:48:34 -0500
committerWaylan Limberg <waylan@gmail.com>2014-02-12 12:48:34 -0500
commit9bfdc1b45d889c419379afd35a6d463e99dad2df (patch)
treec04e4a77af5b13c9133147d3a8a4aedf65377c70
parent11594ebe857234a8e872c4220ea19781959cc745 (diff)
parentc6e3798f74ae98a96781e80f134742bcb60d3946 (diff)
downloadmarkdown-9bfdc1b45d889c419379afd35a6d463e99dad2df.tar.gz
markdown-9bfdc1b45d889c419379afd35a6d463e99dad2df.tar.bz2
markdown-9bfdc1b45d889c419379afd35a6d463e99dad2df.zip
Merge pull request #285 from mitya57/master
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