domaindrivendev / Swashbuckle.AspNetCore

Swagger tools for documenting API's built on ASP.NET Core
MIT License
5.2k stars 1.29k forks source link

Ampersand in XML-<example>-Value not rendered correctly #2071

Open Markus1980Wien opened 3 years ago

Markus1980Wien commented 3 years ago

Ampersand in XML--Value not rendered correctly For remarks this bug was fixed with #1151

BUT for the <example>-Tag the problem still exists /// <summary> /// KeyValuePair List as HTML-FORM-POST-Values (application/x-www-form-urlencoded) /// </summary> /// <example>DOCNAME=Name1&amp;DOCTYPE=invoice"</example>

gavco98uk commented 2 months ago

If you write it as "&" it will work. This is processed and displayed in the output as "&"