Skip to content
Snippets Groups Projects
Commit f304d97b authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(podcast): use markdown description value for editor + set prose class to about description

fixes #156
parent 8fbf948f
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment