Skip to content

False positive "Block and modifier ..." in code blocks #1990

@iliubinskii

Description

@iliubinskii

Search terms

at-sign, block and modifier tags

Expected Behavior

README.md:

Some text @abc

    Code block @xyz

Should show "Block and modifier tags will be ignored within the readme" error for "abc" only.

Actual Behavior

Shows "Block and modifier tags will be ignored within the readme" error for "abc" and "xyz".

The problem is that @ symbol can't be escaped inside code block (https://www.markdownguide.org/basic-syntax/#code-blocks-1).
If you replace @ with \@ in code block it will just show both characters.

Steps to reproduce the bug

README.md:

Some text @abc

    Code block @xyz

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixDeclining to implement

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions