diff --git a/dashboard/src/components/modal/InstallChartModal/ChartValues.tsx b/dashboard/src/components/modal/InstallChartModal/ChartValues.tsx index 1ca05ce7..430b8003 100644 --- a/dashboard/src/components/modal/InstallChartModal/ChartValues.tsx +++ b/dashboard/src/components/modal/InstallChartModal/ChartValues.tsx @@ -1,4 +1,3 @@ -import { marked } from "marked"; import hljs from "highlight.js"; import Spinner from "../../Spinner"; @@ -22,9 +21,7 @@ export const ChartValues = ({ dangerouslySetInnerHTML={ chartValues && !loading ? { - __html: marked( - hljs.highlight(chartValues, { language: "yaml" }).value - ), + __html: hljs.highlight(chartValues, { language: "yaml" }).value, } : undefined } diff --git a/dashboard/src/components/revision/RevisionResource.tsx b/dashboard/src/components/revision/RevisionResource.tsx index 16d5e922..4392e209 100644 --- a/dashboard/src/components/revision/RevisionResource.tsx +++ b/dashboard/src/components/revision/RevisionResource.tsx @@ -1,7 +1,6 @@ import { useEffect, useState } from "react"; import { useParams } from "react-router-dom"; import hljs from "highlight.js"; -import { marked } from "marked"; import { RiExternalLinkLine } from "react-icons/ri"; import { @@ -201,7 +200,7 @@ const DescribeResource = ({ className="bg-white rounded p-4 font-medium text-base font-sf-mono" style={{ overflow: "unset" }} dangerouslySetInnerHTML={{ - __html: marked(yamlFormattedData), + __html: yamlFormattedData, }} />