docusaurus-plugin-openapi-docs 0.0.0-1077 → 0.0.0-1078

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ const utils_1 = require("./utils");
11
11
  function createHeading(heading) {
12
12
  return [
13
13
  (0, utils_1.create)("Heading", {
14
- children: (0, utils_1.clean)(heading),
14
+ children: heading,
15
15
  as: "h1",
16
16
  className: "openapi__heading",
17
17
  }, { inline: true }),
@@ -83,7 +83,7 @@ function createSchemaPageMD({ schema }) {
83
83
  return (0, utils_1.render)([
84
84
  `import Schema from "@theme/Schema";\n`,
85
85
  `import Heading from "@theme/Heading";\n\n`,
86
- (0, createHeading_1.createHeading)(title.replace(utils_1.lessThan, "<").replace(utils_1.greaterThan, ">")),
86
+ (0, createHeading_1.createHeading)(title),
87
87
  (0, createDescription_1.createDescription)(description),
88
88
  (0, utils_1.create)("Schema", {
89
89
  schema: schema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docusaurus-plugin-openapi-docs",
3
3
  "description": "OpenAPI plugin for Docusaurus.",
4
- "version": "0.0.0-1077",
4
+ "version": "0.0.0-1078",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -65,5 +65,5 @@
65
65
  "engines": {
66
66
  "node": ">=14"
67
67
  },
68
- "gitHead": "9a7f0853967fa5b5e0241a48f65f36e1f7d3d591"
68
+ "gitHead": "39f7ab524f1f703df01e188fa168923e3657a49b"
69
69
  }
@@ -5,14 +5,14 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- import { clean, create } from "./utils";
8
+ import { create } from "./utils";
9
9
 
10
10
  export function createHeading(heading: string) {
11
11
  return [
12
12
  create(
13
13
  "Heading",
14
14
  {
15
- children: clean(heading),
15
+ children: heading,
16
16
  as: "h1",
17
17
  className: "openapi__heading",
18
18
  },
@@ -135,7 +135,7 @@ export function createSchemaPageMD({ schema }: SchemaPageMetadata) {
135
135
  return render([
136
136
  `import Schema from "@theme/Schema";\n`,
137
137
  `import Heading from "@theme/Heading";\n\n`,
138
- createHeading(title.replace(lessThan, "<").replace(greaterThan, ">")),
138
+ createHeading(title),
139
139
  createDescription(description),
140
140
  create("Schema", {
141
141
  schema: schema,