mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-11 17:18:42 +00:00
fix textarea double break bug
This commit is contained in:
parent
91cbe9d43b
commit
39cbd5c0c9
|
|
@ -13,7 +13,7 @@
|
|||
name="<?= $this->renderName(); ?>"
|
||||
form="<?= $this->renderForm(); ?>"
|
||||
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">
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user