Merge pull request #2515 from LukeTowers/patch-9
Respect whitespace on disabled codeeditors
This commit is contained in:
commit
fad4d52e79
|
|
@ -1,5 +1,7 @@
|
|||
<?php if ($this->previewMode): ?>
|
||||
<div class="form-control"><?= e($value) ?></div>
|
||||
<div class="form-control">
|
||||
<pre><?= e($value) ?></pre>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div
|
||||
id="<?= $this->getId() ?>"
|
||||
|
|
@ -65,4 +67,4 @@
|
|||
</div>
|
||||
<textarea name="<?= $name ?>" id="<?= $this->getId('textarea') ?>"><?= e($value) ?></textarea>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue