diff --git a/lib/writers/docs.ts b/lib/writers/docs.ts index 2fafdda..112f5d7 100644 --- a/lib/writers/docs.ts +++ b/lib/writers/docs.ts @@ -12,11 +12,11 @@ export class DocsWriter implements Writer { } writeSection(section: string, prev: string): string { - return `${prev}\n## ${section}\n`; + return `${prev}\n## ${section.split("<").join("<")}\n`; } writeDescriptionLine(line: string, prev: string): string { - return `${prev}${line}\n`; + return `${prev}${line.split("<").join("<")}\n`; } writeVariable(variable: Variable, prev: string): string {