From ffeb678f8611ebdd4dcef4ce976b2a097c1a6484 Mon Sep 17 00:00:00 2001 From: Tim Lai Date: Fri, 1 Apr 2022 10:26:53 -0700 Subject: [PATCH] Revert "fix(oas3): set markdown line breaks to true (#7942)" (#7967) This reverts commit b1128d7649f33008821f0f0fa94af2ea73ccef26. --- src/core/plugins/oas3/wrap-components/markdown.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/plugins/oas3/wrap-components/markdown.jsx b/src/core/plugins/oas3/wrap-components/markdown.jsx index 72a1cb5b..a7510e72 100644 --- a/src/core/plugins/oas3/wrap-components/markdown.jsx +++ b/src/core/plugins/oas3/wrap-components/markdown.jsx @@ -8,7 +8,6 @@ import { sanitizer } from "core/components/providers/markdown" const parser = new Remarkable("commonmark") parser.block.ruler.enable(["table"]) parser.set({ linkTarget: "_blank" }) -parser.set({ breaks: true }) export const Markdown = ({ source, className = "", getConfigs }) => { if(typeof source !== "string") {