git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edit/page: rename and append editor style options
[minimedit.git]
/
upload.inc.php
diff --git
a/upload.inc.php
b/upload.inc.php
index 74219ed0043c01e77a3db61026e5c09dc0fe1036..6175fe20a685b1b1df707ccba8e74f4bad2564f1 100644
(file)
--- a/
upload.inc.php
+++ b/
upload.inc.php
@@
-45,7
+45,7
@@
function messagehtml($input)
if (empty($input)) {
return;
}
if (empty($input)) {
return;
}
- if ($User
and $User
->admin and preg_match('/\A<[a-z][^>]*>/', $input)) {
+ if ($User->admin and preg_match('/\A<[a-z][^>]*>/', $input)) {
return $input; # allow html input as is if privileged
}
$html = preg_replace(
return $input; # allow html input as is if privileged
}
$html = preg_replace(