Skip to content

Commit

Permalink
use Base.show
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinschmidt committed Jan 18, 2019
1 parent 921b9ec commit b748167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Markdown2HTML.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ htmlinline(io::IO, x) = tohtml(io, x)

html(md) = sprint(html, md)

function show(io::IO, ::MIME"text/html", md::MD)
function Base.show(io::IO, ::MIME"text/html", md::MD)
withtag(io, :div, :class=>"markdown") do
html(io, md)
end
Expand Down

0 comments on commit b748167

Please sign in to comment.