Skip to content

_.escape incorrectly escapes backticks #2660

@inikulin

Description

@inikulin
var _ = require('lodash');

console.log(_.escape('`test`'))
// > "undefinedtestundefined"

Online example: https://runkit.com/577a60557da47e130044a1c5/57e142c26eefb414003d332e

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions