encode data properly
This commit is contained in:
parent
29ae5bb771
commit
dbcc1b105e
5 changed files with 54 additions and 44 deletions
|
|
@ -22,6 +22,8 @@ defmodule Pleroma.Web.Preload do
|
|||
end
|
||||
|
||||
def build_script_tag(content) do
|
||||
content = Base.encode64(content)
|
||||
|
||||
HTML.Tag.content_tag(:script, HTML.raw(content),
|
||||
id: "initial-results",
|
||||
type: "application/json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue