Opened 11 years ago

Closed 11 years ago

#7970 closed enhancement (wontfix)

What do you think about add addslashes like php in dojo/string.js to escape ' and " character ?

Reported by: harobed Owned by: Adam Peller
Priority: high Milestone: tbd
Component: String Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

What do you think about add addslashes function like php in dojo/string.js to escape ' and " character ?

Change History (1)

comment:1 Changed 11 years ago by Adam Peller

Milestone: 1.2.1tbd
Resolution: wontfix
Status: newclosed

probably a simple regexp and not worth a function in core. If it's more complex than that, please feel free to propose a patch or perhaps discuss in the forums.

also please note that 1.2.1 is an emergency fix release.

Note: See TracTickets for help on using tickets.