Signed-off-by: Seongmin Lee boltlessengineer@proton.me
+111
appview/pages/markup/extension/atlink.go
+111
appview/pages/markup/extension/atlink.go
···+func (r *atHtmlRenderer) renderAt(w util.BufWriter, source []byte, n ast.Node, entering bool) (ast.WalkStatus, error) {
+8
-1
appview/pages/markup/markdown.go
+8
-1
appview/pages/markup/markdown.go
·········
+3
appview/pages/markup/sanitizer.go
+3
appview/pages/markup/sanitizer.go
···policy.AllowAttrs("class").Matching(regexp.MustCompile(`heading`)).OnElements("h1", "h2", "h3", "h4", "h5", "h6", "h7", "h8")policy.AllowAttrs("class").Matching(regexp.MustCompile(strings.Join(slices.Collect(maps.Values(chroma.StandardTypes)), "|"))).OnElements("span")