diff --git a/packages/docusaurus-plugin-openapi-docs/src/markdown/createAuthentication.ts b/packages/docusaurus-plugin-openapi-docs/src/markdown/createAuthentication.ts index b3fb1688e..e49c36e89 100644 --- a/packages/docusaurus-plugin-openapi-docs/src/markdown/createAuthentication.ts +++ b/packages/docusaurus-plugin-openapi-docs/src/markdown/createAuthentication.ts @@ -35,15 +35,15 @@ export function createAuthentication(securitySchemes: SecuritySchemeObject) { create("td", { children: [ guard(tokenUrl, () => - create("p", { children: `Token URL: ${tokenUrl}` }) + create("div", { children: `Token URL: ${tokenUrl}` }) ), guard(authorizationUrl, () => - create("p", { + create("div", { children: `Authorization URL: ${authorizationUrl}`, }) ), guard(refreshUrl, () => - create("p", { children: `Refresh URL: ${refreshUrl}` }) + create("div", { children: `Refresh URL: ${refreshUrl}` }) ), create("span", { children: "Scopes:" }), create("ul", { diff --git a/packages/docusaurus-plugin-openapi-docs/src/markdown/createTermsOfService.ts b/packages/docusaurus-plugin-openapi-docs/src/markdown/createTermsOfService.ts index 0f5fdf944..3ce5aea57 100644 --- a/packages/docusaurus-plugin-openapi-docs/src/markdown/createTermsOfService.ts +++ b/packages/docusaurus-plugin-openapi-docs/src/markdown/createTermsOfService.ts @@ -23,7 +23,7 @@ export function createTermsOfService(termsOfService: string | undefined) { }), create("a", { href: `${termsOfService}`, - children: termsOfService, + children: `{'${termsOfService}'}`, }), ], });