kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(api): Add href to protected attributes
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>environments/review-docs-1664-292dbg/deployments/16542
rodzic
af6b5c3843
commit
101b1b6a23
|
@ -308,7 +308,7 @@ HTMl_CLEANER = bleach.sanitizer.Cleaner(strip=True, tags=SAFE_TAGS)
|
|||
HTML_PERMISSIVE_CLEANER = bleach.sanitizer.Cleaner(
|
||||
strip=True,
|
||||
tags=SAFE_TAGS + ["h1", "h2", "h3", "h4", "h5", "h6", "div", "section", "article"],
|
||||
attributes=["class", "rel", "alt", "title"],
|
||||
attributes=["class", "rel", "alt", "title", "href"],
|
||||
)
|
||||
|
||||
# support for additional tlds
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fixed an issue which caused links in Markdown forms to not render correctly. (#2023)
|
Ładowanie…
Reference in New Issue