Skip to content

Lists should be rendered with <item> #61

Open

Activity

  1. danmoseley commented on Aug 5, 2021

    @danmoseley

    also reject attempts at HTML. Eg., this

            ///   <list type="bullet">
            ///     <item><description>set the <see cref="IHostEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/></description></item>
    

    produces build warnings like

    Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'list' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
    Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'item' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
    Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'description' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
    

    The tool should at least grep for these and fail out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions