Skip to content

wrong title detection #26

@siddharthreddi

Description

@siddharthreddi

match(/^\n*#(.+)\n/) fails if there is no newline after the header.
Fix: Change regex to /^#\s*(.+)/m to catch the first heading regardless of what follows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions