mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
Merge pull request #463 from haron-IV/fix/cancel-date-goes-before-task-content
fix: cancel date goes before task content
This commit is contained in:
commit
e18ea53b35
1 changed files with 0 additions and 1 deletions
|
|
@ -670,7 +670,6 @@ function findMetadataInsertPosition(
|
|||
): number {
|
||||
// Work with the full line text, don't extract block reference yet
|
||||
const blockRef = detectBlockReference(lineText);
|
||||
|
||||
// Find the task marker and status
|
||||
const taskMatch = lineText.match(/^[\s|\t]*([-*+]|\d+\.)\s\[(.)\]\s*/);
|
||||
if (!taskMatch) return blockRef ? blockRef.index : lineText.length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue