projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3689745
)
. misspell function _twig_convert_encoding -> twig_convert_encoding
author
JEDIBC
<bruno@chalopin.fr>
Fri, 9 Dec 2011 09:08:13 +0000 (10:08 +0100)
committer
JEDIBC
<bruno@chalopin.fr>
Fri, 9 Dec 2011 09:08:13 +0000 (10:08 +0100)
lib/Twig/Extension/Core.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Extension/Core.php
b/lib/Twig/Extension/Core.php
index
1dbf6be
..
325f56d
100644
(file)
--- a/
lib/Twig/Extension/Core.php
+++ b/
lib/Twig/Extension/Core.php
@@
-582,7
+582,7
@@
function _twig_escape_js_callback($matches)
}
// \uHHHH
- $char = _twig_convert_encoding($char, 'UTF-16BE', 'UTF-8');
+ $char = twig_convert_encoding($char, 'UTF-16BE', 'UTF-8');
return '\\u'.substr('0000'.bin2hex($char), -4);
}