You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTML comments containing reference link definitions crash the preview window
Steps to Reproduce
Add the following comment to anywhere in an ADR. <!--[^1]:https://example.com -->
Open the ADR with log4brains preview / Reload the ADR if it's already open
Expected Behavior
Renderer does not crash, and also does not display commented text
Context
I was commenting out a reference link definition with my IDE. This issue came up when trying to do research to make a feature request to fully support reference links, including non-/\^[0-9]+/ shortcut reference links and implict reference links.
Environment
Log4brains version: 1.0.1
Node.js version: 18.16.1
OS and its version: Fedora 38
Browser information: Firefox 116.0
The text was updated successfully, but these errors were encountered:
Bug Report:
Description
HTML comments containing reference link definitions crash the preview window
Steps to Reproduce
<!--[^1]:https://example.com -->
log4brains preview
/ Reload the ADR if it's already openExpected Behavior
Renderer does not crash, and also does not display commented text
Context
I was commenting out a reference link definition with my IDE. This issue came up when trying to do research to make a feature request to fully support reference links, including non-
/\^[0-9]+/
shortcut reference links and implict reference links.Environment
The text was updated successfully, but these errors were encountered: