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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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>