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

CDATA code blocks are not rendered #54417

Closed
jnm2 opened this issue Jun 26, 2021 · 2 comments
Closed

CDATA code blocks are not rendered #54417

jnm2 opened this issue Jun 26, 2021 · 2 comments
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@jnm2
Copy link
Contributor

jnm2 commented Jun 26, 2021

Version Used: 16.10.2, 17.0.0-p1.1

CDATA is advertised by IntelliSense which is nice, but the IDE gives up if it is used:

/// <summary>
/// <code><![CDATA[
/// var list = new List<int>();
/// ]]></code>
/// </summary>
class C { }

image

Since CDATA isn't working, code blocks must be XML-escaped which is hard to maintain:

/// <summary>
/// <code>
/// var list = new List&lt;int>();
/// </code>
/// </summary>
class C { }

image

If you use new List<int>():

image

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 26, 2021
@jnm2 jnm2 changed the title S CDATA code blocks are not rendered Jun 26, 2021
@Youssef1313
Copy link
Member

@jnm2 This was fixed in #53140 (16.11).

@jnm2
Copy link
Contributor Author

jnm2 commented Jun 26, 2021

Legend! Thank you!

Duplicate of #53135.

@jnm2 jnm2 closed this as completed Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants