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 23c8c01 commit a8cffdfCopy full SHA for a8cffdf
packages/docusaurus-plugin-openapi-docs/src/markdown/utils.ts
@@ -61,7 +61,7 @@ export const lessThan =
61
export const greaterThan =
62
/(?<!(button|code|details|summary|hr|br|span|strong|small|table|thead|tbody|td|tr|th|h1|h2|h3|h4|h5|h6|title|p|em|b|i|u|strike|bold|a|li|ol|ul|img|svg|div|center|\/|\s|"|'))>/gu;
63
export const codeFence = /`{1,3}[\s\S]*?`{1,3}/g;
64
-export const curlyBrackets = /([{|}])/g;
+export const curlyBrackets = /([{}])/g;
65
export const codeBlock = /(^```.*[\s\S]*?```$|`[^`].+?`)/gm;
66
67
export function clean(value: string | undefined): string {
0 commit comments