Skip to content

Conversation

@eaglethrost
Copy link
Contributor

@eaglethrost eaglethrost commented Nov 17, 2025

PR App Fix RM-XYZ

🧰 Changes

For a text with an opening bracket right after a complete bracket, the remark library will drop the second opening bracket because it thinks the second part is part of the link reference, will start parsing it as such, but when no closing bracket was found, it only retains the text.

[bar][bar -> [bar]bar

This may look unexpected for users, so this PR updates the link reference transformer to use slicing from the original string to get back the brackets, instead of manually only getting the label

🧬 QA & Testing

@eaglethrost eaglethrost marked this pull request as ready for review November 17, 2025 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant