mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-13 16:58:44 +00:00
fix textarea double break bug
This commit is contained in:
parent
91cbe9d43b
commit
39cbd5c0c9
|
|
@ -13,7 +13,7 @@
|
||||||
name="<?= $this->renderName(); ?>"
|
name="<?= $this->renderName(); ?>"
|
||||||
form="<?= $this->renderForm(); ?>"
|
form="<?= $this->renderForm(); ?>"
|
||||||
data-tpl-text="<?= $this->renderTplText(); ?>"
|
data-tpl-text="<?= $this->renderTplText(); ?>"
|
||||||
data-tpl-value="<?= $this->renderTplValue(); ?>"><?= \str_replace("\n", ' ', $this->renderPlain()); ?></textarea>
|
data-tpl-value="<?= $this->renderTplValue(); ?>"><?= \str_replace(["\r\n", "\n"], [' ', ' '], $this->renderPlain()); ?></textarea>
|
||||||
<input type="hidden" id="<?= $this->renderId(); ?>-parsed">
|
<input type="hidden" id="<?= $this->renderId(); ?>-parsed">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user