Skip to content

Commit 7b971fa

Browse files
version bump
1 parent 05feeec commit 7b971fa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "magic-calendar",
33
"name": "MagicCalendar",
4-
"version": "1.1.5",
4+
"version": "1.1.6",
55
"minAppVersion": "0.15.0",
66
"description": "Al-Powered Obsidian Plugin that leverage Natural Language Processing techniques to find calendar events in Markdown notes, seamlessly synchronizing them with a calendar of choice.",
77
"author": "Vaccarini Lorenzo",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "magic-calendar",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "",
55
"main": "main.js",
66
"scripts": {

src/controllers/nlpController.ts

+1
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ class NlpController {
471471
// Consider giving the possibility to specify some patterns that the user dont want to match
472472
// e.g. [something](...%20The...)
473473
// Forbid %20th
474+
if(!this._setting.bannedPatterns) return false;
474475
return this._setting.bannedPatterns.some(bannedPattern => sentence.value.indexOf(bannedPattern) > -1);
475476
}
476477
}

0 commit comments

Comments
 (0)