Skip to content

Commit 50c1524

Browse files
committed
Office Extension: Replacing =< with => remarks sections
1 parent 5295ec8 commit 50c1524

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/api-documenter/src/yaml/OfficeYamlDocumenter.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class OfficeYamlDocumenter extends YamlDocumenter {
9696
yamlItem.remarks = this._fixupApiSet(yamlItem.remarks, yamlItem.uid);
9797
yamlItem.remarks = this._fixBoldAndItalics(yamlItem.remarks);
9898
yamlItem.remarks = this._fixCodeTicks(yamlItem.remarks);
99+
yamlItem.remarks = this._fixCodeArrows(yamlItem.remarks);
99100
}
100101
if (yamlItem.syntax && yamlItem.syntax.parameters) {
101102
yamlItem.syntax.parameters.forEach(part => {
@@ -135,4 +136,8 @@ export class OfficeYamlDocumenter extends YamlDocumenter {
135136
private _fixCodeTicks(text: string): string {
136137
return Text.replaceAll(text, '\\`', '`');
137138
}
139+
140+
private _fixCodeArrows(text: string): string {
141+
return Text.replaceAll(text, '=>', '=>');
142+
}
138143
}

0 commit comments

Comments
 (0)