/framework/vendor/smarty2/plugins/modifier.jstring.php
http://zoop.googlecode.com/ · PHP · 7 lines · 7 code · 0 blank · 0 comment · 0 complexity · 74004b7e6cab1b2a3a45e4f02a4f4b00 MD5 · raw file
- <?php
- function smarty_modifier_jstring($string)
- {
- $string = str_replace("\r", '', $string);
- $string = str_replace("\n", '\n', $string);
- return $string;
- }