Skip to content
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

conventional keyword in body would be parsed #827

Closed
pplmx opened this issue Aug 25, 2023 · 1 comment
Closed

conventional keyword in body would be parsed #827

pplmx opened this issue Aug 25, 2023 · 1 comment

Comments

@pplmx
Copy link

pplmx commented Aug 25, 2023

Description

as title

Steps to reproduce

mkdir test; cd test; git init
touch cc
git add cc
git commit
cz ch
cat CHANGELOG.md

commit message as follows:

fix: some bugs

fix:
    - issue 1
    - issue 2

feat:
    - feat 1
    - feat 2

perf:
    - perf 1
    - perf 2

build:
    - build 1
    - build 2

docs:
    - docs 1
    - docs 2

Current behavior

## Unreleased

### Feat

-     - feat 1
    - feat 2

### Fix

- some bugs
-     - issue 1
    - issue 2

### Perf

-     - perf 1
    - perf 2

Desired behavior

## Unreleased

### Fix

- some bugs

Screenshots

image

Environment

❯ cz version --report
Commitizen Version: 3.5.3
Python Version: 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Operating System: Windows
@Lee-W
Copy link
Member

Lee-W commented May 20, 2024

Do you mean you have spaces in the commit message, and they appear in CHANGELOG? If so, I think the behavior is somewhat expected. I'm going to close this one. But please feel free to reopen it and provide more details if I misunderstood anything. Thanks! 🙂

@Lee-W Lee-W closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants