We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680f455 commit 1a381e8Copy full SHA for 1a381e8
manifest.json
@@ -1,7 +1,7 @@
1
{
2
"id": "flashcards-obsidian",
3
"name": "Flashcards",
4
- "version": "1.6.4",
+ "version": "1.6.5",
5
"minAppVersion": "0.9.17",
6
"description": "Anki integration",
7
"author": "Alex Colucci",
src/conf/regex.ts
@@ -95,6 +95,7 @@ export class Regex {
95
this.singleClozeCurly = /((?:{)(?:(\d):?)?(.+?)(?:}))/g;
96
this.singleClozeHighlight = /((?:==)(.+?)(?:==))/g;
97
98
- this.embedBlock = /!\[\[(.*?)\]\]/g;
+ // Matches any embedded block but the one with an used extension from the wikilinks
99
+ this.embedBlock = /!\[\[(.*?)(?<!\.(?:png|jpg|jpeg|gif|bmp|svg|tiff|mp3|webm|wav|m4a|ogg|3gp|flac))\]\]/g;
100
}
101
0 commit comments