osclass/OSClass — Issue #43: Translate helpers for js, html, textarea
Author: juanramon
Created: 2011-11-28 17:08:38+00:00
State: open
Labels: Enhancement

Now, sometimes we have problems when we print translated string in javascript code, inside a textarea or as a title attribute in an image. We should work in something like:

* esc_html
* esc_js
* esc_textarea

Wordpress uses this functions: http://codex.wordpress.org/Data_Validation