镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

details and summary HTML tag support #2038

Open

Description

@sjehuda

What happened?

This code works only upon preview.

<details>
</details>

What did you expect to happen?

Details Not collapsed

Click to see what happens.

What the problem might be?

No response

Activity

  1. added
    bugYou've guessed it... this means a bug is reported.
    on May 31, 2024
  2. added
    migrationUse this to indicate that it may apply to an existing or announced migration.
    mightfixEhh maybe... convince us all...
    and removed
    bugYou've guessed it... this means a bug is reported.
    migrationUse this to indicate that it may apply to an existing or announced migration.
    on May 31, 2024
  3. Martii commented on May 31, 2024

    @Martii
    Member

    As I mentioned at https://openuserjs.org/garage/Markdown_doesnt_work_inside_spoiler_tags.#comment-18bb7b3497e the details and summary tag are currently unsupported.

    I had a conversation with @sizzlemctwizzle a while back where he wanted certain things allowed vs not allowed. At that time those two tags weren't in the GH arsenal of allowed... however they obviously are now.

    My only concern is that someone will have to click all the little arrows in case someone spams things inside the "spoiler" as that account calls this... although not sure that will be a huge issue unless it is made one and then we could just remove the feature.

    Anyhow I'll leave it open for @sizzlemctwizzle to recomment on publicly since he's the deciding factor here for the allow list of html tags during sanitizing.

  4. changed the title [-]Details HTML tag work only upon preview[/-] [+]`details` and `summary` HTML tag support[/+] on May 31, 2024
  5. added
    enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.
    on May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.intended behavior"It's a feature not a bug."mightfixEhh maybe... convince us all...

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions