forked from tangled.org/core
Monorepo for Tangled

appview: pages/markup: allow center tag

authored by hanna and committed by Tangled 47716518 a588f625

Changed files
+3
appview
pages
markup
+3
appview/pages/markup/markdown.go
··· 154 policy.AllowElements("source") 155 policy.AllowAttrs("src", "type").OnElements("source") 156 157 policy.AllowAttrs("align", "style", "width", "height").Globally() 158 policy.AllowStyles( 159 "margin",
··· 154 policy.AllowElements("source") 155 policy.AllowAttrs("src", "type").OnElements("source") 156 157 + // centering content 158 + policy.AllowElements("center") 159 + 160 policy.AllowAttrs("align", "style", "width", "height").Globally() 161 policy.AllowStyles( 162 "margin",