dustjs
dustjs copied to clipboard
Input Text Removes \n from the string
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.
@aredridel @caolan @zzen @kmiyashiro Any one can help on this?
@vishal-shukla-viitorcloud Please don't ping random people just to get attention.
Hi Can you tell me which file has this issue.
has this been resolve if not can i contribute
has this been resolve if not can i contribute
Thanks for reaching out, Its not resolved yet. You can support here. Currently it has less priority now but yes we need solution.