8000 reference-style link will not render if the reference is the last line in file · Issue #196 · frostming/marko · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

reference-style link will not render if the reference is the last line in file #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fkuersch opened this issue Jun 17, 2024 · 1 comment · Fixed by #197
Closed

reference-style link will not render if the reference is the last line in file #196

fkuersch opened this issue Jun 17, 2024 · 1 comment · Fixed by #197
Assignees

Comments

@fkuersch
Copy link

The following markdown code renders perfectly fine:

[1]

[1]: https://example.org

Result:

<p><a href="https://example.org">1</a></p>

However, when removing the last empty line, the link will not render properly:

[1]

[1]: https://example.org

Result:

<p>[1]</p>
<p>[1]: https://example.org</p>

@frostming frostming self-assigned this Jun 18, 2024
frostming added a commit that referenced this issue Jun 18, 2024
…t line in file

Fixes #196

Signed-off-by: Frost Ming <me@frostming.com>
frostming added a commit that referenced this issue Jun 18, 2024
…t line in file (#197)

* fix: reference-style link will not render if the reference is the last line in file
Fixes #196

Signed-off-by: Frost Ming <me@frostming.com>

* fix noxfile

Signed-off-by: Frost Ming <me@frostming.com>
@fkuersch
Copy link
Author

Thank you :)

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 a pull request may close this issue.

2 participants
0