Skip to content

Extract sourceMappingURL from escaped string #144

@kmdavis

Description

@kmdavis

Not sure how it happened, but getSourceMappingUrl is operating on an escaped string, so, the newline character is actually \\n instead of \n. I was able to fix locally by adding \\ to the regex on this line:

match = /^[^\r\n\\]+/.exec( substring );

but a better fix would be to unescape this string before matching

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions