diff --git a/src/package.ts b/src/package.ts
index c3a86bc5..fc5ff9c8 100644
--- a/src/package.ts
+++ b/src/package.ts
@@ -778,7 +778,7 @@ export abstract class MarkdownProcessor extends BaseProcessor {
contents = contents.replace(markdownPathRegex, urlReplace);
// Replace links with urls
- contents = contents.replace(/]+src=["']([/.\w\s#-]+)['"][^>]*>/gm, (all, link) => {
+ contents = contents.replace(/<(?:img|video)[^>]+src=["']([/.\w\s#-]+)['"][^>]*>/gm, (all, link) => {
const isLinkRelative = !/^\w+:\/\//.test(link) && link[0] !== '#';
if (!this.baseImagesUrl && isLinkRelative) {
diff --git a/src/test/fixtures/readme/readme.branch.main.expected.md b/src/test/fixtures/readme/readme.branch.main.expected.md
index e6713e8c..4713d359 100644
--- a/src/test/fixtures/readme/readme.branch.main.expected.md
+++ b/src/test/fixtures/readme/readme.branch.main.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/username/repository/raw/main/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.branch.override.content.expected.md b/src/test/fixtures/readme/readme.branch.override.content.expected.md
index 772bb10d..e0203a3e 100644
--- a/src/test/fixtures/readme/readme.branch.override.content.expected.md
+++ b/src/test/fixtures/readme/readme.branch.override.content.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/base/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.branch.override.images.expected.md b/src/test/fixtures/readme/readme.branch.override.images.expected.md
index 3780eab2..9f6db439 100644
--- a/src/test/fixtures/readme/readme.branch.override.images.expected.md
+++ b/src/test/fixtures/readme/readme.branch.override.images.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/base/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.default.md b/src/test/fixtures/readme/readme.default.md
index 02dc963c..ba7c8a6d 100644
--- a/src/test/fixtures/readme/readme.default.md
+++ b/src/test/fixtures/readme/readme.default.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/username/repository/raw/HEAD/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.expected.md b/src/test/fixtures/readme/readme.expected.md
index b6ed6854..79600d98 100644
--- a/src/test/fixtures/readme/readme.expected.md
+++ b/src/test/fixtures/readme/readme.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/username/repository/raw/master/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.gitlab.branch.main.expected.md b/src/test/fixtures/readme/readme.gitlab.branch.main.expected.md
index f9859ffc..ec9c88fb 100644
--- a/src/test/fixtures/readme/readme.gitlab.branch.main.expected.md
+++ b/src/test/fixtures/readme/readme.gitlab.branch.main.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://gitlab.com/username/repository/-/raw/main/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.gitlab.branch.override.content.expected.md b/src/test/fixtures/readme/readme.gitlab.branch.override.content.expected.md
index 579b38bd..16a454da 100644
--- a/src/test/fixtures/readme/readme.gitlab.branch.override.content.expected.md
+++ b/src/test/fixtures/readme/readme.gitlab.branch.override.content.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://gitlab.com/base/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.gitlab.branch.override.images.expected.md b/src/test/fixtures/readme/readme.gitlab.branch.override.images.expected.md
index cdd362e0..0e2d2e5a 100644
--- a/src/test/fixtures/readme/readme.gitlab.branch.override.images.expected.md
+++ b/src/test/fixtures/readme/readme.gitlab.branch.override.images.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://gitlab.com/base/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.gitlab.default.md b/src/test/fixtures/readme/readme.gitlab.default.md
index 3d64512c..5d8b5831 100644
--- a/src/test/fixtures/readme/readme.gitlab.default.md
+++ b/src/test/fixtures/readme/readme.gitlab.default.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://gitlab.com/username/repository/-/raw/HEAD/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.images.expected.md b/src/test/fixtures/readme/readme.images.expected.md
index aef440fc..df5b05bb 100644
--- a/src/test/fixtures/readme/readme.images.expected.md
+++ b/src/test/fixtures/readme/readme.images.expected.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](https://github.com/username/repository/path/to/SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.
diff --git a/src/test/fixtures/readme/readme.md b/src/test/fixtures/readme/readme.md
index ce771ad1..d66218df 100644
--- a/src/test/fixtures/readme/readme.md
+++ b/src/test/fixtures/readme/readme.md
@@ -25,6 +25,8 @@ The status bar lets you quickly navigate to any issue and you can see all positi
![](./SpellMDDemo2.gif#gh-light-mode-only)
+
+
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.