Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-21769 fixed input validation

  • Loading branch information...
commit 49ac14a86841ae12b540d6b68f29e4298d6c7607 1 parent b722892
@skodak skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/journal/edit.html
View
2  mod/journal/edit.html
@@ -15,7 +15,7 @@
?>
</td></tr>
<tr><td align="center">
-<?php print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
+<?php print_textarea($usehtmleditor, 20, 60, 630, 400, "text", clean_text($entry->text, $entry->format)); ?>
</td></tr>
<tr><td align="center">
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.