Skip to content

Broken rendering of changelogs with backticks after a closing bracket #2

@aronowski

Description

@aronowski

Patterns like in this line, i.e.

  - `/load quick [slot]`, `/load q[slot]`, `/quickload [slot]`, `/ql [slot]`

render improperly on the website:

<li>`/load quick <div class="highlight inline"><code>, </code></div>
/load q<div class="highlight inline"><code>, </code></div>
/quickload <div class="highlight inline"><code>, </code></div>
/ql [slot]`</li>

The cause might be related to this regex matching patterns like:

[language]`code`

and taking precedence, where the opening and closing backticks should be rendered as they do in the line above, i.e. rendering:

  - `/save quick`, `/quicksave`, `/qs`

as

<li><code>/save quick</code>, <code>/quicksave</code>, <code>/qs</code></li>

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