jquery.i18n icon indicating copy to clipboard operation
jquery.i18n copied to clipboard

Functional escape for '$' needed

Open willbonney opened this issue 10 years ago • 6 comments

$ immediately followed by any characters will cause an error when used in a json array. The error is Uncaught TypeError: Cannot read property '2' of undefined in simpleParse js file.

$1, $2, $3 are placeholders for the library so it seems $4500 causes an error whereas $ 4500 doesn't cause any issues. Replacing$ with $ doesn't solve the issue.

How does one escape $ in a message then?

willbonney avatar Jun 08 '15 16:06 willbonney

ack. I will check the mediawiki escaping system and do a compatible system in jquery.i18n.

santhoshtr avatar Jun 09 '15 06:06 santhoshtr

Sorry but what is the status of this issue?

UnKnoWn-Consortium avatar Aug 23 '17 23:08 UnKnoWn-Consortium

hi sir, I want to work on this problem so please assign me this problem

VrajRP2004 avatar Jan 30 '24 06:01 VrajRP2004