Skip to content

Markdown: problem when rendering source with prepending whitespace #697

Open
@thet

Description

@thet

In a template like this:

<pre class="pat-markdown">
    ${context/text}
</pre>

Where ${context/text} outputs this:

    *This is markdown*

The rendered markdown is:

<pre class="pat-syntax-highlight" tabindex="0"><code data-inner="1">*This is markdown*</code></pre>

Instead of:

<p><em>This is markdown</em></p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions