Skip to content

Tag raw doesnt work with code snippets #269

Closed

Description

@Zabuzard

In some more complex setups, such as in the presence of code snippets and other, /tag-manage raw does not seem to work as expected.

As an example, use /tag-manage raw id: bfs:
bfs tag

It messes up the starting code snippet, the ending code snippets and also some of the bold-markers.

The raw content of this message, for testing purposes, is: https://pastebin.com/4tuEQ7Bz

Activity

  1. added
    bug
    on Nov 19, 2021
  2. self-assigned this
    on Nov 19, 2021
  3. Zabuzard commented on Nov 19, 2021

    @Zabuzard
    MemberAuthor

    Found the issue. We use MarkdownSanitizer.escape but that escapes three backticks only with a single backslash but all three backticks need to be escaped for it to work properly.

    issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpriority: major

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions