Explorar o código

Build tag text correctly for all tags

Sebastian Pahnke %!s(int64=4) %!d(string=hai) anos
pai
achega
b8e0740b41
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/languageFeatures.ts

+ 1 - 1
src/languageFeatures.ts

@@ -576,7 +576,7 @@ function tagToString(tag: ts.JSDocTagInfo): string {
 		tagLabel += `\`${paramName.text}\``;
 		if (rest.length > 0) tagLabel += ` — ${rest.map(r => r.text).join(' ')}`;
 	} else if (tag.text) {
-		tagLabel += ` — ${tag.text}`;
+		tagLabel += ` — ${tag.text.map(r => r.text).join(' ')}`;
 	}
 	return tagLabel;
 }