Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c98182
)
MDL-47494 gapselect: Quiz editing now works, as does the random question type.
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Thu, 10 Feb 2011 20:44:47 +0000
(20:44 +0000)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Thu, 10 Feb 2011 20:50:18 +0000
(20:50 +0000)
However, all this needs more testing.
Also, a bit of a purge of training whitespace and global .
question/type/gapselect/edit_form_base.php
patch
|
blob
|
blame
|
history
diff --git
a/question/type/gapselect/edit_form_base.php
b/question/type/gapselect/edit_form_base.php
index
26c97a0
..
a9ea332
100755
(executable)
--- a/
question/type/gapselect/edit_form_base.php
+++ b/
question/type/gapselect/edit_form_base.php
@@
-27,7
+27,7
@@
class qtype_gapselect_edit_form_base extends question_edit_form {
private $htmltclosetags = '~<\s*/\s*\w\s*.*?>|<\s*br\s*>~';
/** @var string regex to select text like [[cat]] (including the square brackets). */
- private $squareBracketsRegex = '/\[\[[^]]*?\]\]/';
+ private $squareBracketsRegex = '/\[\[[^]]*?\]\]/';
private function get_html_tags($text) {
$textarray = array();