Skip to content

Commit c68d85b

Browse files
author
Christopher Doris
committed
jlwrap._repr_mimebundle_ now truncates its output [skip ci]
1 parent cff79d5 commit c68d85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jlwrap/any.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function pyjlany_mimebundle(self, include::Py, exclude::Py)
155155
for m in mimes
156156
try
157157
io = IOBuffer()
158-
show(io, MIME(m), self)
158+
show(IOContext(io, :limit=>true), MIME(m), self)
159159
v = take!(io)
160160
ans[m] = vo = istextmime(m) ? pystr(String(v)) : pybytes(v)
161161
pydel!(vo)

0 commit comments

Comments
 (0)