admin/home: allow html in changelogs
Massimo Melina committed
May 28, 2026 at 23:07 UTC
472bfcb422051d0b397949a5ee07d60748761c3d
1 file changed
-1
admin/src/HomePage.ts
-1
@@ -182,7 +182,6 @@ function Update({ info, title, bodyCollapsed, fromAuto }: { title?: ReactNode, i
182
183
function renderChangelog(s: string) {
184
return md(s, {
185
- html: false,
185
onText: s => replaceStringToReact(s, /(?<=^|\W)#(\d+)\b|(https:.*\S+)/g, m => // link issues and urls
186
m[1] ? h(Link, { href: REPO_URL + 'issues/' + m[1], target: '_blank' }, h(OpenInNew, { fontSize: 'small' }) )
187
: h(Link, { href: m[2], target: '_blank' }, m[2] )