feat: more complete metadata diff, scp publishing and rendering context
This commit is contained in:
@@ -6,7 +6,11 @@ defmodule BDS.Menu do
|
||||
alias BDS.Projects
|
||||
|
||||
Record.defrecord(:xmlElement, Record.extract(:xmlElement, from_lib: "xmerl/include/xmerl.hrl"))
|
||||
Record.defrecord(:xmlAttribute, Record.extract(:xmlAttribute, from_lib: "xmerl/include/xmerl.hrl"))
|
||||
|
||||
Record.defrecord(
|
||||
:xmlAttribute,
|
||||
Record.extract(:xmlAttribute, from_lib: "xmerl/include/xmerl.hrl")
|
||||
)
|
||||
|
||||
@valid_kinds [:page, :submenu, :category_archive, :home]
|
||||
|
||||
@@ -187,7 +191,7 @@ defmodule BDS.Menu do
|
||||
|> String.replace("&", "&")
|
||||
|> String.replace("<", "<")
|
||||
|> String.replace(">", ">")
|
||||
|> String.replace(~s(") , """)
|
||||
|> String.replace(~s("), """)
|
||||
end
|
||||
|
||||
defp attr(attrs, key) do
|
||||
|
||||
Reference in New Issue
Block a user