Skip to content

Commit 4fbe1cd

Browse files
authored
Merge pull request #1 from MiddleFork/MiddleFork-patch-1
import 'escape' from html, not from cgi
2 parents e8bf3bf + c917501 commit 4fbe1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbviewer/providers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import statsd
1313
import asyncio
1414

15-
from cgi import escape
15+
from html import escape
1616
from contextlib import contextmanager
1717
from datetime import datetime
1818

0 commit comments

Comments
 (0)