-
-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<pre> tag does not preserve neither \n nor \t #1261
Comments
@aMarCruz will this be handled with your compiler updates? compiled to riot.tag('my-tag', '<pre> xyz cc ss </pre>', function(opts) {
}); |
Sorry @maciejjankowski , @rsbondi , I think no. <pre>{ mytext }</pre>
...
this.mytext = [
'xyz',
' cc',
' ss'
].join('\n') Drawback is performance, the expression is evaluated and the element updated with others. EDIT: |
Sorry @maciejjankowski , @rsbondi , my fail. The @rsbondi , sorry el inglés no es lo mío :).. el método
¿Qué me recomiendas? |
Summary: I think the global |
@rsbondi , you're right, but since option 1 is consistent with the new |
I just push in the |
this issue was fixed in riot 2.3.11 |
http://jsbin.com/yeyoro/edit?html,output
The text was updated successfully, but these errors were encountered: