-
Notifications
You must be signed in to change notification settings - Fork 40
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
Escape characters like < and > #122
Comments
I'm not able to reproduce this -
generates a changelog with:
As an aside, I think having markdown syntax in commit messages is actually helpful - as it lets you format code (useful for the tag syntax):
|
Yea, the generated changelog is correct. But the |
Ah, I see what you're getting at.
Am I right in understanding that the issue is that they're parsed by markdown, because they weren't escaped at the time the markdown file is written? I think escaping the characters that markdown interprets would be a bit unexpected, so this doesn't feel like a bug to me. But, I see how it might be useful to be able to do this with a config option. This project is intended to be a wrapper around conventional-changelog. Conventional-changelog controls the writing of the changelog, and I think the package that knows how to write markdown is conventional-changelog-writer (although I'm not certain). You might want to open an issue / PR over there. |
Describe the bug
Characters like < and > are parsed as markdown syntax and won't shown in output.
Something like
feat: add <Header> to <App>
will shown as:feat: add to
Current behavior
Characters like < and > are parsed as markdown syntax.
Expected behavior
Escape markdown syntax from commit messages.
Environment
commit-and-tag-version
version(s): 12.1.0The text was updated successfully, but these errors were encountered: