File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 10771077 " if include_imgs:\n " ,
10781078 " if d := _g('image/jpeg'): return f'<img src=\" data:image/jpeg;base64,{d}\" />'\n " ,
10791079 " if d := _g('image/png'): return f'<img src=\" data:image/png;base64,{d}\" />'\n " ,
1080+ " if d := _g('image/svg+xml'): return d\n " ,
10801081 " if d := _g('text/plain'): return _pre(d)\n " ,
1081- " if d := _g('image/svg+xml'): return d\n " ,
10821082 " \n " ,
10831083 " return ''\n " ,
10841084 " \n " ,
You can’t perform that action at this time.
0 commit comments