mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
FIX #2853 Allow "#" in title
- Only strip the leading # in the title - Make the finding title logic more straightforward - Add unit test
This commit is contained in:
@@ -36,7 +36,8 @@ test(t => {
|
||||
['`MY_TITLE`', 'MY_TITLE'],
|
||||
['MY_TITLE', 'MY_TITLE'],
|
||||
// I have no idea for it...
|
||||
['```test', '`test']
|
||||
['```test', '`test'],
|
||||
['# C# Features', 'C# Features']
|
||||
]
|
||||
|
||||
testCases.forEach(testCase => {
|
||||
|
||||
Reference in New Issue
Block a user