antonmedv / antonmedv/textarea

wrong title detection

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.5k
Forks
195
PR merge metrics
No merged PRs in 30d

Description

`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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.