defmodule SwornforgedWeb.SrdHTML do use SwornforgedWeb, :html embed_templates "srd_html/*" def srd_type_title(assigns) do ~H"""
Source
<%= get_in(@item, ["Source", "Title"]) %>
p.<%= get_in(@item, ["Source", "Page"]) %>
<%= Jason.encode!(@item, pretty: true, escape: :html_safe) %>