Open
Description
Hi,
We are using dust.js
What we are doing?
- We want to show string as it is coming from JSON into input box let say "This is the \n test box \n testing"
Problem
When we write <input type="text" value="This is the \n test box \n testing" />
then
- Text box come with same string including "\n"
When we use dynamic value from object {name: "This is the \n test box \n testing"}
and use like <input type="text" value="{name}" />
then
- it shows like "This is the test box testing" which does not have "\n" and that is the problem where our actual data changes and reflect as problem at many places.
Please help asap.
Metadata
Assignees
Labels
No labels