Forum Discussion

nedbat's avatar
5 years ago

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?

No RepliesBe the first to reply