Merge pull request #2705 from HB9HIL/fix_comment_quotation_marks

Fix comment quotation marks
This commit is contained in:
Andreas Kristiansen
2023-11-18 08:37:03 +01:00
committed by GitHub

View File

@@ -187,7 +187,7 @@
<div class="form-group">
<label for="comment">Comment</label>
<input type="text" class="form-control" id="comment" name="comment" value="<?php echo $qso->COL_COMMENT; ?>">
<input type="text" class="form-control" id="comment" name="comment" value="<?php echo htmlspecialchars($qso->COL_COMMENT ? $qso->COL_COMMENT : '', ENT_QUOTES, 'UTF-8'); ?>">
</div>
<div class="form-row">