forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview: pages/markup: allow center tag

hanna 47716518 a588f625

Changed files
+3
appview
pages
markup
+3
appview/pages/markup/markdown.go
···
policy.AllowElements("source")
policy.AllowAttrs("src", "type").OnElements("source")
+
// centering content
+
policy.AllowElements("center")
+
policy.AllowAttrs("align", "style", "width", "height").Globally()
policy.AllowStyles(
"margin",