File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
extensions/typescript-language-features/src/languageFeatures/util Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ function convertLinkTags(
188
188
if ( / ^ h t t p s ? : / . test ( text ) ) {
189
189
const parts = text . split ( ' ' ) ;
190
190
if ( parts . length === 1 ) {
191
- out . push ( parts [ 0 ] ) ;
191
+ out . push ( `< ${ parts [ 0 ] } >` ) ;
192
192
} else if ( parts . length > 1 ) {
193
- const linkText = escapeMarkdownSyntaxTokensForCode ( parts . slice ( 1 ) . join ( ' ' ) ) ;
194
- out . push ( `[${ currentLink . linkcode ? '`' + linkText + '`' : linkText } ](${ parts [ 0 ] } )` ) ;
193
+ const linkText = parts . slice ( 1 ) . join ( ' ' ) ;
194
+ out . push ( `[${ currentLink . linkcode ? '`' + escapeMarkdownSyntaxTokensForCode ( linkText ) + '`' : linkText } ](${ parts [ 0 ] } )` ) ;
195
195
}
196
196
} else {
197
197
out . push ( escapeMarkdownSyntaxTokensForCode ( text ) ) ;
You can’t perform that action at this time.
0 commit comments