Skip to content

Commit

Permalink
fix([email protected]): fix html entity for closing angle bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
egasimus committed Aug 5, 2023
1 parent 6efe8af commit cb8d426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fadroma/schema",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"main": "schema.mjs",
"description": "Documentation generator from cosmwasm-schema",
Expand Down
2 changes: 1 addition & 1 deletion schema/schema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class SchemaToMarkdown extends Schema {
if (val.type === 'integer') return "integer"
if (val.type === 'string') return "string"
if (val.type === 'boolean') return "boolean"
if (val.type === 'array') return `Array<${refLink(refName(val.items))}&;gr`
if (val.type === 'array') return `Array<${refLink(refName(val.items))}>`
if (val.type === 'object') return "object"

process.stderr.write(`Warning: unsupported field definition: ${key} -> ${JSON.stringify(val)}`)
Expand Down

0 comments on commit cb8d426

Please sign in to comment.