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

fix(markdown): handled multi-lines blocks in descriptions #3044

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

fredbi
Copy link
Contributor

@fredbi fredbi commented Jan 4, 2024

This PR introduces a new template function to replace new lines (or carriage returns) in descriptions by "
" tags in the generated markdown.

I could verify that this renders correctly on github markdown.

* fixes go-swagger#2700

This PR introduces a new template function to replace new lines (or
carriage returns) in descriptions by "</br>" tags in the generated
markdown.

I could verify that this renders correctly on github markdown.

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
@fredbi fredbi force-pushed the fix/2700-markdown-multilines branch from be4260a to 1f140bb Compare January 6, 2024 20:13
@fredbi fredbi merged commit 36e5a26 into go-swagger:master Jan 6, 2024
24 checks passed
@fredbi fredbi deleted the fix/2700-markdown-multilines branch January 6, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New lines in description create incorrect markdown
2 participants