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 154 policy.AllowElements("source") 155 155 policy.AllowAttrs("src", "type").OnElements("source") 156 156 157 + // centering content 158 + policy.AllowElements("center") 159 + 157 160 policy.AllowAttrs("align", "style", "width", "height").Globally() 158 161 policy.AllowStyles( 159 162 "margin",