Skip to content

Commit f9aea33

Browse files
authored
add istextmime specialization
1 parent fd2a82f commit f9aea33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inline.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ _display_dict(m::MIME, m_str, x) = Dict(m_str=>limitstringmime(m, x))
5757
for mime in ipy_mime_json
5858
@eval begin
5959
_display_dict(m::MIME{Symbol($mime)}, m_str, x) = Dict(m_str=>JSON.JSONText(limitstringmime(m, x)))
60+
Base.Multimedia.istextmime(::MIME{Symbol($mime)}) = true
6061
end
6162
end
6263

0 commit comments

Comments
 (0)