-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
…quotes
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,15 +87,7 @@ defmodule ExDoc.Formatter.HTML.Templates do | |
end | ||
|
||
@doc false | ||
def enc_h(binary) do | ||
binary | ||
|> URI.encode() | ||
|> h() | ||
end | ||
|
||
defp is_enc?(binary) do | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
eksperimental
Contributor
|
||
h(binary) != enc_h(binary) | ||
end | ||
def enc(binary), do: URI.encode(binary) | ||
|
||
@doc """ | ||
Create a JS object which holds all the items displayed in the sidebar area | ||
|
@josevalim while reviewing the code for my last PR, I noticed that
is_enc?/1
this is a private function, and it can still be called from a template. Is this desired?