Skip to content

Symbol#getJsDocTags adds whitespace in URLs #42581

Description

Bug Report

🔎 Search Terms

@see, JsDocTags

🕗 Version & Regression Information

This changed between 3.9 and 4.1.

💻 Code

/** @see http://lmgtfy.com */exportclassFoo{}

🙁 Actual behavior

Consider the exported symbol Foo above... When calling getJsDocTags() on that, the result includes:

{text: 'http ://lmgtfy.com',name: 'see'}// ^-- spurious space

🙂 Expected behavior

Expected the @see tag's text to be represented as-is:

{text: 'http://lmgtfy.com',name: 'see'}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions