diff --git a/packages/portal/src/components/DS4CH/DS4CHLandingHero.vue b/packages/portal/src/components/DS4CH/DS4CHLandingHero.vue
index 6dd09d5149..0d42ed33ee 100644
--- a/packages/portal/src/components/DS4CH/DS4CHLandingHero.vue
+++ b/packages/portal/src/components/DS4CH/DS4CHLandingHero.vue
@@ -14,7 +14,7 @@
import SmartLink from '@/components/generic/SmartLink';
- import { parseMarkdownHtml } from '@/utils/markdown.js';
+ import parseMarkdown from '@/utils/markdown/parse.js';
const CSS_VARS_PRESETS = {
small: { w: 576, h: 896, fit: 'fill', q: 100, f: 'right' },
@@ -107,7 +107,7 @@
},
methods: {
- parseMarkdownHtml
+ parseMarkdown
}
};
diff --git a/packages/portal/src/components/content/ContentCard.vue b/packages/portal/src/components/content/ContentCard.vue
index 2c143bd92a..c9e8f47040 100644
--- a/packages/portal/src/components/content/ContentCard.vue
+++ b/packages/portal/src/components/content/ContentCard.vue
@@ -122,7 +122,7 @@
import ClientOnly from 'vue-client-only';
import SmartLink from '../generic/SmartLink';
import langAttributeMixin from '@/mixins/langAttribute';
- import { stripMarkdown } from '@/utils/markdown.js';
+ import stripMarkdown from '@/utils/markdown/strip.js';
import truncateMixin from '@/mixins/truncate';
import { langMapValueForLocale } from '@europeana/i18n';
diff --git a/packages/portal/src/components/content/ContentPrimaryCallToAction.vue b/packages/portal/src/components/content/ContentPrimaryCallToAction.vue
index c17f7e073b..fe9124223f 100644
--- a/packages/portal/src/components/content/ContentPrimaryCallToAction.vue
+++ b/packages/portal/src/components/content/ContentPrimaryCallToAction.vue
@@ -9,7 +9,7 @@
import SmartLink from '../generic/SmartLink';
- import { parseMarkdownHtml } from '@/utils/markdown.js';
+ import parseMarkdown from '@/utils/markdown/parse.js';
export default {
name: 'ContentPrimaryCallToAction',
@@ -55,7 +55,7 @@
},
methods: {
- parseMarkdownHtml
+ parseMarkdown
}
};
diff --git a/packages/portal/src/components/landing/LandingEmbed.vue b/packages/portal/src/components/landing/LandingEmbed.vue
index a1fb12f797..ad6c68b631 100644
--- a/packages/portal/src/components/landing/LandingEmbed.vue
+++ b/packages/portal/src/components/landing/LandingEmbed.vue
@@ -19,7 +19,7 @@
@@ -46,7 +46,7 @@
diff --git a/packages/portal/src/components/landing/LandingHero.vue b/packages/portal/src/components/landing/LandingHero.vue
index 0a8e99e5db..65f561bdd5 100644
--- a/packages/portal/src/components/landing/LandingHero.vue
+++ b/packages/portal/src/components/landing/LandingHero.vue
@@ -7,7 +7,7 @@
import ImageWithAttribution from '@/components/image/ImageWithAttribution';
import SmartLink from '@/components/generic/SmartLink';
- import { parseMarkdownHtml } from '@/utils/markdown.js';
+ import parseMarkdown from '@/utils/markdown/parse.js';
export default {
name: 'LandingHero',
@@ -110,7 +110,7 @@
},
methods: {
- parseMarkdownHtml
+ parseMarkdown
}
};
diff --git a/packages/portal/src/components/landing/LandingIllustrationGroup.vue b/packages/portal/src/components/landing/LandingIllustrationGroup.vue
index 23bed62aa1..e6b6117b63 100644
--- a/packages/portal/src/components/landing/LandingIllustrationGroup.vue
+++ b/packages/portal/src/components/landing/LandingIllustrationGroup.vue
@@ -11,7 +11,7 @@
@@ -66,7 +66,7 @@
diff --git a/packages/portal/src/components/landing/LandingImageCard.vue b/packages/portal/src/components/landing/LandingImageCard.vue
index e6889c58cd..0c4b1afef8 100644
--- a/packages/portal/src/components/landing/LandingImageCard.vue
+++ b/packages/portal/src/components/landing/LandingImageCard.vue
@@ -32,7 +32,7 @@
import parityMixin from '@/mixins/parity.js';
- import { parseMarkdownHtml } from '@/utils/markdown.js';
+ import parseMarkdown from '@/utils/markdown/parse.js';
const SRCSET_PRESETS = {
small: { w: 512, h: 342, fit: 'fill' },
@@ -145,7 +145,7 @@
},
methods: {
- parseMarkdownHtml
+ parseMarkdown
}
};
diff --git a/packages/portal/src/components/landing/LandingImageCardGroup.vue b/packages/portal/src/components/landing/LandingImageCardGroup.vue
index c1669f8bed..44b2623520 100644
--- a/packages/portal/src/components/landing/LandingImageCardGroup.vue
+++ b/packages/portal/src/components/landing/LandingImageCardGroup.vue
@@ -13,7 +13,7 @@
@@ -35,7 +35,7 @@
diff --git a/packages/portal/src/components/landing/LandingInfoCard.vue b/packages/portal/src/components/landing/LandingInfoCard.vue
index a665c2e047..8ff766e958 100644
--- a/packages/portal/src/components/landing/LandingInfoCard.vue
+++ b/packages/portal/src/components/landing/LandingInfoCard.vue
@@ -38,7 +38,7 @@
class="text"
:class="{ 'mb-3': card.link }"
data-qa="landing info card text"
- v-html="parseMarkdownHtml(card.text)"
+ v-html="parseMarkdown(card.text)"
/>
diff --git a/packages/portal/src/components/landing/LandingInfoCardGroup.vue b/packages/portal/src/components/landing/LandingInfoCardGroup.vue
index 4ffe293a24..ef0b8e014d 100644
--- a/packages/portal/src/components/landing/LandingInfoCardGroup.vue
+++ b/packages/portal/src/components/landing/LandingInfoCardGroup.vue
@@ -11,7 +11,7 @@
@@ -44,7 +44,7 @@
diff --git a/packages/portal/src/components/landing/LandingSubSection.vue b/packages/portal/src/components/landing/LandingSubSection.vue
index 2987722e6b..204719cc09 100644
--- a/packages/portal/src/components/landing/LandingSubSection.vue
+++ b/packages/portal/src/components/landing/LandingSubSection.vue
@@ -12,7 +12,7 @@
@@ -54,7 +54,7 @@
diff --git a/packages/portal/src/components/story/StoryImageTextSlideScroller.vue b/packages/portal/src/components/story/StoryImageTextSlideScroller.vue
index 0dd51a2f53..31cbd84587 100644
--- a/packages/portal/src/components/story/StoryImageTextSlideScroller.vue
+++ b/packages/portal/src/components/story/StoryImageTextSlideScroller.vue
@@ -41,7 +41,7 @@
>
@@ -54,7 +54,7 @@