-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
New lines in description create incorrect markdown #2700
Comments
Rewriting new lines with Filesystem type of the volume that you want to mount. Using block quote alters the rendering, so this is probably not what we want.
|
Provided example would render like so: Properties
|
* 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>
* 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>
* fixes #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>
Problem statement
Converting a swagger.yaml file to swagger.md create incorrect markdown, because the new lines are not remove/escaped (or what ever is needed).
argoproj/argo-workflows#7615
Swagger specification
Steps to reproduce
Environment
swagger version: v0.29.0
go version: 1.17
OS: MacOS
The text was updated successfully, but these errors were encountered: