Markdown parser is parsing @mentions inside a markdown ``code block`` #699
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#699
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have an article containing a code block with a CSS media query whose syntax starts with
@mediaand it is parsed as a mention linking to non-existing user 'media'. I expect code blocks to be completely exempted from further parsing.live example
The # may also be interpreted as hashtags (I didn't checked tho), which may be an issue for languages like C.
Yup
#s parsed as hashtags too https://plume.edgarogh.fr/~/Dev/yet-another-testThis is, notably, fixed by accident in https://github.com/Plume-org/Plume/pull/691#issue-336583050 but that is blocked until the build can be fixed. :/