Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
05f1bf1b
Commit
05f1bf1b
authored
Apr 14, 2009
by
Richard Mansfield
Browse files
Run textbox content through clean_html
parent
73576a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/textbox/lib.php
View file @
05f1bf1b
...
...
@@ -45,7 +45,7 @@ class PluginBlocktypeTextbox extends SystemBlocktype {
$text
=
(
isset
(
$configdata
[
'text'
]))
?
$configdata
[
'text'
]
:
''
;
safe_require
(
'artefact'
,
'file'
);
$text
=
ArtefactTypeFolder
::
append_view_url
(
$text
,
$instance
->
get
(
'view'
));
return
$text
;
return
clean_html
(
$text
)
;
}
public
static
function
has_instance_config
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment