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"
|
as="MarkdownEditor"
|
||||||
name="description"
|
name="description"
|
||||||
label="<?= lang('Podcast.form.description') ?>"
|
label="<?= lang('Podcast.form.description') ?>"
|
||||||
value="<?= htmlspecialchars($podcast->description) ?>"
|
value="<?= htmlspecialchars($podcast->description_markdown) ?>"
|
||||||
required="true" />
|
required="true" />
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<?= $this->section('content') ?>
|
<?= $this->section('content') ?>
|
||||||
|
|
||||||
<div class="px-2 sm:px-4">
|
<div class="px-2 sm:px-4">
|
||||||
<div class="mb-2"><?= $podcast->description_html ?></div>
|
<div class="mb-2 prose"><?= $podcast->description_html ?></div>
|
||||||
<div class="flex gap-x-4 gap-y-2">
|
<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">
|
<span class="px-2 py-1 text-sm font-semibold border rounded-sm border-subtle bg-highlight">
|
||||||
<?= category_label($podcast->category) ?>
|
<?= category_label($podcast->category) ?>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue