Skip to content

Commit

Permalink
6.2.10
Browse files Browse the repository at this point in the history
- Fix #76
  • Loading branch information
valentine195 committed Aug 22, 2021
1 parent 133cc5c commit 2fe2e94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-admonition",
"name": "Admonition",
"version": "6.2.8",
"version": "6.2.10",
"minAppVersion": "0.11.0",
"description": "Admonition block-styled content for Obsidian.md",
"author": "Jeremy Valentine",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-admonition",
"version": "6.2.8",
"version": "6.2.10",
"description": "Admonition block-styled content for Obsidian.md",
"main": "main.js",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,10 @@ title:
.slice(slicer)
.find((str) =>
new RegExp(
`\\[.*\\]\\s*${task.innerText}`
`\\[.*\\]\\s*${task.innerText.replace(
/[.*+?^${}()|[\]\\]/g,
"\\$&"
)}`
).test(str)
);
slicer =
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"4.3.1": "0.12.0",
"4.4.2": "0.12.2",
"5.0.3": "0.12.2",
"6.2.8": "0.12.4"
"6.2.10": "0.12.4"
}

0 comments on commit 2fe2e94

Please sign in to comment.