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

Test MarkdownString.supportHtml #133123

Closed
2 tasks done
mjbvz opened this issue Sep 14, 2021 · 0 comments
Closed
2 tasks done

Test MarkdownString.supportHtml #133123

mjbvz opened this issue Sep 14, 2021 · 0 comments

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Sep 14, 2021

Test for #40607

Complexity: 4

Create Issue


The new supportHtml property on MarkdownStrings allows extensions to enable raw html tags inside of markdown strings. Use the completion sample (or another API that supports MarkdownString) to test this proposal.

Things to check:

  • Make sure html in markdown is disabled by default
  • Make sure that html can only appear when you use appendMarkdown. Any html in appendText and appendCodeblock should not be rendered as html
  • Try adding html that uses tags and attributes that we don't support, such as scripts and styles. Make sure these are not rendered
@mjbvz mjbvz added this to the September 2021 milestone Sep 14, 2021
@joyceerhl joyceerhl removed their assignment Sep 28, 2021
@chrmarti chrmarti removed their assignment Sep 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants