Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243856
Collapse All | Expand All

(-)Smarty-2.6.20.orig/libs/Smarty_Compiler.class.php (+2 lines)
Lines 1705-1710 Link Here
1705
        }
1705
        }
1706
        // replace double quoted literal string with single quotes
1706
        // replace double quoted literal string with single quotes
1707
        $_return = preg_replace('~^"([\s\w]+)"$~',"'\\1'",$_return);
1707
        $_return = preg_replace('~^"([\s\w]+)"$~',"'\\1'",$_return);
1708
        // escape dollar sign if not printing a var
1709
        $_return = preg_replace('~\$(\W)~',"\\\\\$\\1",$_return);
1708
        return $_return;
1710
        return $_return;
1709
    }
1711
    }
1710
1712

Return to bug 243856