File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
apps/api-documenter/src/yaml Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments