+3
appview/pages/markup/markdown.go
+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",