Skip to content

File containing HTML does not render if loaded from command line. #247

Open
@tcouey

Description

@tcouey

This is a bit of an edge case, granted, but it is a bug. If I launch Firefox 127 (on Windows 10) from the command line and give it a markdown file to open, it opens the raw file. If I then press F5, it loads the extension and renders properly. Here's the really weird thing, it only happens if the file contains an HTML tag (in this case, a <title> tag). Because of the other issue with HTML, I have the <title> tag as the second line in the file. If the file is just pure markdown, it loads fine from the command line.
Here's a sample that triggers the bug:

# July 3, 2024 (Wednesday)
<title>July 3, 2024 (Wednesday)</title>

## Topic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions