Skip to content

Commit 5da1cef

Browse files
committed
fixes #416 - removes extra samicolo char in tag rendering
1 parent 3b5c37a commit 5da1cef

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

dist/rapidoc-min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

4 Bytes
Binary file not shown.

dist/report.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/rapidoc-min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapidoc",
3-
"version": "8.4.7",
3+
"version": "8.4.6",
44
"description": "RapiDoc - Open API spec viewer with built in console",
55
"author": "Mrinmoy Majumdar <[email protected]>",
66
"repository": {

src/templates/focused-endpoint-template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { expandCollapseNavBarTag } from '@/templates/navbar-template';
1313
function wrapFocusedTemplate(templateToWrap) {
1414
return html`
1515
<div class='regular-font section-gap--focused-mode'>
16-
${templateToWrap};
16+
${templateToWrap}
1717
</div>`;
1818
}
1919

@@ -32,7 +32,7 @@ function defaultContentTemplate() {
3232
function focusedTagBodyTemplate(tag) {
3333
return html`
3434
<h1 id="${tag.elementId}">${tag.name}</h1>
35-
${tag.description ? html`<div class="m-markdown"> ${unsafeHTML(marked(tag.description || ''))}</div>` : ''}
35+
${tag.description ? html`<div class="m-markdown">${unsafeHTML(marked(tag.description))}</div>` : ''}
3636
`;
3737
}
3838

0 commit comments

Comments
 (0)