fix(admin): repair management views and harden plugin handling
Build and publish Docker image / build-and-publish (push) Successful in 14s
Build and publish Docker image / build-and-publish (push) Successful in 14s
This commit is contained in:
1 parent
d8862c9611
commit
b7b36b1355
7 files changed
+92
-50
No files matched your search
@@ -279,11 +279,14 @@ function PluginDetails() {
|
||||
{plugin.description && (
|
||||
<div className="rounded-xl border p-6 mb-6" style={{ backgroundColor: colors.backgroundSecondary, borderColor: colors.brightBlack }}>
|
||||
<h2 className="text-xl font-semibold mb-4" style={{ color: colors.brightWhite }}>Description</h2>
|
||||
<div
|
||||
className="prose prose-invert max-w-none"
|
||||
<p
|
||||
className="max-w-none whitespace-pre-wrap leading-relaxed"
|
||||
style={{ color: colors.foreground }}
|
||||
dangerouslySetInnerHTML={{ __html: plugin.description }}
|
||||
/>
|
||||
>
|
||||
{typeof plugin.description === 'string'
|
||||
? new DOMParser().parseFromString(plugin.description, 'text/html').body.textContent
|
||||
: ''}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in new issue
Block a user