aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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