Skip to content

bug: Incorrectly handling <!-- /// ---> tag #339

@silas

Description

@silas

Description

This is potentially/probably a bug in html5ever, but I figured I'd open it here first.

Something in the HTML to markdown pipeline is mishandling the <!-- /// ---> tag. Specifically anything after this tag is being dropped.

Steps to reproduce

  1. Open demo page
  2. Enter the following HTML
    <h1>One</h1>
    
    <!-- /// --->
    
    <p>Two</p>
  3. Notice the output
    # One

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions