mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix(podcast): use markdown description value for editor + set prose class to about description
fixes #156
This commit is contained in:
parent
8fbf948fbb
commit
f304d97b14
@ -67,7 +67,7 @@
|
||||
as="MarkdownEditor"
|
||||
name="description"
|
||||
label="<?= lang('Podcast.form.description') ?>"
|
||||
value="<?= htmlspecialchars($podcast->description) ?>"
|
||||
value="<?= htmlspecialchars($podcast->description_markdown) ?>"
|
||||
required="true" />
|
||||
|
||||
<fieldset>
|
||||
|
@ -3,8 +3,8 @@
|
||||
<?= $this->section('content') ?>
|
||||
|
||||
<div class="px-2 sm:px-4">
|
||||
<div class="mb-2"><?= $podcast->description_html ?></div>
|
||||
<div class="flex gap-x-4 gap-y-2">
|
||||
<div class="mb-2 prose"><?= $podcast->description_html ?></div>
|
||||
<div class="flex flex-wrap gap-x-4 gap-y-2">
|
||||
<span class="px-2 py-1 text-sm font-semibold border rounded-sm border-subtle bg-highlight">
|
||||
<?= category_label($podcast->category) ?>
|
||||
</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user