Skip to content

Commit d61aee1

Browse files
committed
Fix mimebundle render priority
1 parent 3d8c74c commit d61aee1

File tree

4 files changed

+96
-23
lines changed

4 files changed

+96
-23
lines changed

execnb/_modidx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Autogenerated by nbdev
22

3-
d = { 'settings': { 'branch': 'main',
3+
d = { 'settings': { 'branch': 'master',
44
'doc_baseurl': '/execnb/',
55
'doc_host': 'https://AnswerDotAI.github.io',
66
'git_url': 'https://github.com/AnswerDotAI/execnb/',

execnb/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ def render_output(out):
185185
if include_imgs:
186186
if d := _g('image/jpeg'): return f'<img src="data:image/jpeg;base64,{d}"/>'
187187
if d := _g('image/png'): return f'<img src="data:image/png;base64,{d}"/>'
188+
if d := _g('image/svg+xml'): return d
188189
if d := _g('text/plain'): return _pre(d)
189-
if d := _g('image/svg+xml'): return d
190190

191191
return ''
192192

nbs/02_shell.ipynb

Lines changed: 93 additions & 20 deletions
Large diffs are not rendered by default.

settings.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = some keywords
88
user = AnswerDotAI
99
author = Jeremy Howard
1010
author_email = [email protected]
11-
branch = main
11+
branch = master
1212
version = 0.1.13
1313
min_python = 3.7
1414
requirements = fastcore>=1.5.5 ipython

0 commit comments

Comments
 (0)