Sanitization
This commit is contained in:
1 parent
36a0480cc6
commit
f394538776
3 files changed
+7
-7
No files matched your search
@@ -1,11 +1,11 @@
|
||||
<div class="col">
|
||||
<div class="card h-100">
|
||||
<div class="card h-100 shadow-sm">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title lh-base text-truncate"><?= $comment->title ?></h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted"><?= $comment->name ?></h6>
|
||||
<h5 class="card-title lh-base text-truncate"><?= htmlspecialchars($comment->title) ?></h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted"><?= htmlspecialchars($comment->name) ?></h6>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text"><?= $comment->comment ?></p>
|
||||
<p class="card-text"><?= nl2br(htmlspecialchars($comment->comment)) ?></p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<small class="text-muted">
|
||||
|
||||
Reference in new issue
Block a user