PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1<?php
2function smarty_modifier_jstring($string)
3{
4	$string = str_replace("\r", '', $string);
5	$string = str_replace("\n", '\n', $string);
6	return $string;
7}