correction bug caracteres speciaux dans l'edition des pages
[mw_pages] / out / dist / views / pages / admin / add.php
index 1568493..c17f1af 100644 (file)
@@ -23,7 +23,7 @@
       </p>
     </li>
     <li>
-      <textarea class="tinymce" cols="60" rows="10" name="content" id="content"><?= $this->out["page"]["content"] ?></textarea>
+      <textarea class="tinymce" cols="60" rows="10" name="content" id="content"><?= htmlspecialchars($this->out["page"]["content"]) ?></textarea>
     </li>
     <li class="buttons">
       <input type="submit" value="Ajouter" />