Skip to content
Snippets Groups Projects
Commit fb840692 authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix to stop showing formatting changes in mce fields.

parent fe0f2252
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,6 @@
<fieldset>
<label>
<h2>Prerequisites (text)</h2>
<textarea name="prerequisite" class="mceEditor"><?php echo htmlspecialchars($this->course->prerequisite); ?></textarea>
<textarea name="prerequisite" class="mceEditor"><?php echo $this->course->prerequisite; ?></textarea>
</label>
</fieldset>
......@@ -268,7 +268,7 @@
<h3>Prerequisite</h3>
<fieldset>
<textarea id="prerequisite" name="prerequisite" class="mceEditor"><?php echo htmlentities($this->course->prerequisite, ENT_COMPAT, 'UTF-8'); ?></textarea>
<textarea id="prerequisite" name="prerequisite" class="mceEditor"><?php echo $this->course->prerequisite; ?></textarea>
</fieldset>
......@@ -515,13 +515,13 @@
<h3>Notes</h3>
<fieldset>
<textarea id="notes" name="notes" class="mceEditor"><?php echo htmlentities($this->course->notes, ENT_COMPAT, 'UTF-8'); ?></textarea>
<textarea id="notes" name="notes" class="mceEditor"><?php echo $this->course->notes; ?></textarea>
</fieldset>
<h3>Description</h3>
<fieldset>
<textarea id="description" name="description" class="mceEditor"><?php echo htmlentities($this->course->description, ENT_COMPAT, 'UTF-8'); ?></textarea>
<textarea id="description" name="description" class="mceEditor"><?php echo $this->course->description; ?></textarea>
</fieldset>
......@@ -576,7 +576,7 @@
<fieldset>
<label>
<h3 class="required">Justification</h3>
<textarea name="request[justification]" class="mceEditor"><?php echo htmlspecialchars($this->request->justification); ?></textarea>
<textarea name="request[justification]" class="mceEditor"><?php echo $this->request->justification; ?></textarea>
</label>
</fieldset>
......
......@@ -5,6 +5,6 @@
</label>
<label>
<h2>Description</h2>
<textarea name="description" class="mceEditor"><?php echo htmlspecialchars($this->course->description); ?></textarea>
<textarea name="description" class="mceEditor"><?php echo $this->course->description; ?></textarea>
</label>
</fieldset>
\ No newline at end of file
<fieldset>
<label>
<h2>Justification</h2>
<textarea name="request[justification]" class="mceEditor"><?php echo htmlspecialchars($this->request->justification); ?></textarea>
<textarea name="request[justification]" class="mceEditor"><?php echo $this->request->justification; ?></textarea>
</label>
</fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment