imdone-core 1.43.4 → 1.43.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/task.js +1 -1
  2. package/package.json +1 -1
package/lib/task.js CHANGED
@@ -512,7 +512,7 @@ Task.prototype.parseTodoTxt = function () {
512
512
  Task.removeTags = function (text, prefix = '+') {
513
513
  const positions = Task.getMarkdownCodePositions(text)
514
514
  return text.replace(Task.getTagRegexp(prefix), (match, p1, p2, offset) => {
515
- if (Task.isResultInMarkdownCode(positions, offset)) return match
515
+ if (Task.isResultInMarkdownCode(positions, offset) || match.includes('##')) return match
516
516
  return ''
517
517
  })
518
518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.43.4",
3
+ "version": "1.43.5",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "scripts": {