Skip to content

Commit

Permalink
Update schema2Markdown.js
Browse files Browse the repository at this point in the history
Co-authored-by: Julianna Langston <74684272+julianna-ciq@users.noreply.github.com>
  • Loading branch information
TheJuanAndOnly99 and julianna-ciq authored Mar 7, 2024
1 parent 6bf17da commit 901d72a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions schema2Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ function generateObjectMD(schema, title, schemaFolderName, version) {
}

function escape(text) {
let output = text;
output = output.replace(/>/g, '\\>');

return output;
return text.replace(/>/g, '\\>');
}

function generateFrontMatter(title, description) {
Expand Down

0 comments on commit 901d72a

Please sign in to comment.