# Display("text.html", "\<script\>\</script\>") error

**URL:** <https://discourse.julialang.org/t/display-text-html-script-script-error/41919>\
**Category:** General Usage\
**Tags:** question\
**Created:** [June 23, 2020, 8:13am UTC](https://discourse.julialang.org/t/display-text-html-script-script-error/41919 "2020-06-23T08:13:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sijun](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Post date:** [June 23, 2020, 8:13am UTC](https://discourse.julialang.org/t/display-text-html-script-script-error/41919/1 "2020-06-23T08:13:28Z")

</div>

I used to use `display("text.html", "<script></script>") ` to include javascript plot or a raw HTML in Weave doc. But today I encountered the following error:

```julia
ERROR: MethodError: no method matching show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::MIME{Symbol("text/html")}, ::String)
Closest candidates are:
  show(::IO, !Matched::MIME{Symbol("text/plain")}, ::Any) at multimedia.jl:47
  show(::IO, ::MIME{Symbol("text/html")}, !Matched::Method) at methodshow.jl:340
  show(::IO, ::MIME{Symbol("text/html")}, !Matched::Base.MethodList) at methodshow.jl:393
  ...

```

Same as when I enter it in REPL.

Julia Version: 1.5.0-beta1.0

It doesn’t seem that the usage of `display` API has changed. How can I solve this problem?
