projects
/
misc
/
hallinta-metro
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Escape ampersand as well
[misc/hallinta-metro]
/
utils.php
diff --git
a/utils.php
b/utils.php
index
d6905e9
..
3476ccf
100644
(file)
--- a/
utils.php
+++ b/
utils.php
@@
-24,8
+24,8
@@
function rm_tempdir($dir)
function latex_encode($text)
{
- return str_replace(array("\\",'%'),
- array('\\','\%'),
+ return str_replace(array("\\",'%'
,'&'
),
+ array('\\','\%'
,'\&'
),
utf8_decode($text));
}