Nuggets: optional link (e.g. YouTube) on host profiles; v2.47.0
Publish Container / build (push) Successful in 19m22s
Publish Container / build (push) Successful in 19m22s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
03c3dd72fe
commit
327c3354dc
6 files changed
+20
-1
No files matched your search
@@ -402,6 +402,8 @@ function sanitizeNuggets(raw) {
|
||||
role: typeof h.role === 'string' ? h.role.trim().slice(0, 120) : '',
|
||||
bio: typeof h.bio === 'string' ? h.bio.trim().slice(0, 4000) : '',
|
||||
imageUrl: sanitizeUrl(h.imageUrl) || '',
|
||||
linkUrl: sanitizeUrl(h.linkUrl) || '',
|
||||
linkLabel: typeof h.linkLabel === 'string' ? h.linkLabel.trim().slice(0, 80) : '',
|
||||
archived: Boolean(h.archived),
|
||||
}))
|
||||
: []
|
||||
|
||||
Reference in new issue
Block a user