Ask a Question

Incorrect Markdown rendering?

nedbat
Visitor

Incorrect Markdown rendering?

Swagger-UI seems to render Markdown incorrectly.   Two consecutive lines of text should be considered the same paragraph, but it renders them each as their own paragraph.  Am I misunderstanding something?

 

For example, if the schema has a description of

Line 1.\nLine 2.

That should render in Markdown as a single paragraph: "Line 1. Line 2."  But Swagger-UI puts a break tag between the lines.  Isn't that incorrect?

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: