How to change less than or greater than symbol in Jelly script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2016 08:30 AM
We have input box generated in Jelly, which allowing user to enter character. And whenever they entered symbols like &, <, >, ¬ are changing into special characters.
I am successfully replacing & into and .
for an example :-
replace(/${AMP}/g,"and ");
However when i am trying similarly for < or > respectively it didn't accept.
replace(/${AMPlt;}/g,"lt ");
replace(/${AMPgt;}/g,"gt ");
Any idea or help much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2016 08:44 AM
Less than is < Greater than is > Ampersand is $[AMP]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2016 07:02 AM
This has been sorted out by using HTML number instead on HTML name.