mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 04:21:17 -05:00
encode html chars (for spamadmin)
This commit is contained in:
parent
a0a0d6dbbc
commit
4745921930
@ -472,6 +472,7 @@ class Main extends CI_Controller
|
||||
if (isset($_GET['preview'])) {
|
||||
$this->load->helper('text');
|
||||
$data['raw'] = character_limiter($data['raw'], 500);
|
||||
$data['raw'] = htmlspecialchars($data['raw']);
|
||||
}
|
||||
$this->content_expiration(config_item('content_expiration'));
|
||||
$this->load->view('view/raw', $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user