mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
added html tags escaping
This commit is contained in:
parent
d3a7c6fac7
commit
1689ea34a2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) {
|
|||
<input type="submit" name="save" value="Save" class="save" />
|
||||
|
||||
|
||||
<textarea name="contents" class="editor" id="editor" rows="4" style="display:none;width: 100%; height: 100%;"><?php echo $content ?></textarea>
|
||||
<textarea name="contents" class="editor" id="editor" rows="4" style="display:none;width: 100%; height: 100%;"><?=htmlentities($content)?></textarea>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue