yourhead/stacks-bugs-and-features — Issue #256: ability to escape html and text input
Author: yabdab
Created: 2011-11-04 19:54:51+00:00
State: open

Need the ability to escape single quotes in %html% and %text% user inputs.

Why?

If you want to do this in the template page, then single quotes will break the script...

$someVar = ' %text% ';

$someVar = ' Mike's test '; <-- see what I mean

This is a PHP example, but it could happen in several code flavors including Javascript.