Skip to content

Commit

Permalink
some more
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Dec 16, 2024
1 parent bc7fb3c commit e777cee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Website

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
This InterSystems Class Reference generator is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

### Installation

Expand Down
20 changes: 10 additions & 10 deletions plugins/cls-loader/src/plugin/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,16 @@ function reshapeHTML(text) {
text = text.replace(found, classLink);
}

let result = `${text}\n\n`;
const htmlValidate = new HtmlValidate();
let report = htmlValidate.validateStringSync(text);
if (!report.valid) {
result = `
:::danger
Error while rendering HTML
:::
`;
}
let result = "```" + text + "```\n\n";
// const htmlValidate = new HtmlValidate();
// let report = htmlValidate.validateStringSync(text);
// if (!report.valid) {
// result = `
// :::danger
// Error while rendering HTML
// :::
// `;
// }

return result;
}
Expand Down

0 comments on commit e777cee

Please sign in to comment.