diff --git a/lib/ex_doc/formatter/html/templates.ex b/lib/ex_doc/formatter/html/templates.ex index 2fc7f4b45..784ec269a 100644 --- a/lib/ex_doc/formatter/html/templates.ex +++ b/lib/ex_doc/formatter/html/templates.ex @@ -120,6 +120,10 @@ defmodule ExDoc.Formatter.HTML.Templates do |> h() end + defp is_enc?(binary) do + h(binary) != enc_h(binary) + end + @doc """ Create a JS object which holds all the items displayed in the sidebar area """ diff --git a/lib/ex_doc/formatter/html/templates/detail_template.eex b/lib/ex_doc/formatter/html/templates/detail_template.eex index c038a50c0..ec5b77b7c 100644 --- a/lib/ex_doc/formatter/html/templates/detail_template.eex +++ b/lib/ex_doc/formatter/html/templates/detail_template.eex @@ -1,4 +1,7 @@