projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6477c
)
Fixed typo in escaping exported text.
author
thepurpleblob
<thepurpleblob>
Mon, 13 Dec 2004 17:28:34 +0000
(17:28 +0000)
committer
thepurpleblob
<thepurpleblob>
Mon, 13 Dec 2004 17:28:34 +0000
(17:28 +0000)
mod/quiz/format/gift/format.php
patch
|
blob
|
history
diff --git
a/mod/quiz/format/gift/format.php
b/mod/quiz/format/gift/format.php
index 78f7b01b5dd763c858ec0a9d09e1bae10dcd0775..b57f93c75eff0356b66452298aa2590a7be60e3d 100755
(executable)
--- a/
mod/quiz/format/gift/format.php
+++ b/
mod/quiz/format/gift/format.php
@@
-435,7
+435,7
@@
class quiz_file_format extends quiz_default_format {
function repchar( $text ) {
// escapes 'reserved' characters # = ~ { )
$reserved = array( '#','=','~','{','}' );
- $escaped = array( '\#','\=','~','\{','\}' );
+ $escaped = array( '\#','\=','
\
~','\{','\}' );
return str_replace( $reserved, $escaped, $text );
}