haml template issue:





haml layout page:
everytime update data, the space more and more, look the logs show: 

[["text", "```ruby\r\ndef hello\r\n puts \"hello\"\r\nend\r\n```"]




<https://lh3.googleusercontent.com/-sGAe0e_Z3y8/WHRiZR2fGDI/AAAAAAAAAAw/UBhQy7oZ3ec0G8cV4LyTuV9BN95b3A-ewCLcB/s1600/Screen%2BShot%2B2017-01-10%2Bat%2B12.07.38.png>

<https://lh3.googleusercontent.com/-McAPsnd60_M/WHRh-7nCFzI/AAAAAAAAAAs/smTo8cBGSIYcwPcX2pachXy6eWhnNVhqQCLcB/s1600/Screen%2BShot%2B2017-01-10%2Bat%2B08.56.23.png>





but using erb template:



<https://lh3.googleusercontent.com/-9OBKF-6z3jg/WHRh64HrbRI/AAAAAAAAAAo/pffLUTrfeK8moTh33qpUMP4Uvs_jUK-ygCLcB/s1600/Screen%2BShot%2B2017-01-10%2Bat%2B08.49.32.png>




the log show: [["body", 
"world\r\n\r\nworld\r\n\r\nhello\r\nworld\r\nin\r\nhere\r\n\r\n```ruby\r\ndef 
hello\r\n  puts \"hello world!\"\r\nend\r\n```"], ["updated_at", 2017-01-10 
04:07:22 UTC], ["id", 2]]

no problem





-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/haml.
For more options, visit https://groups.google.com/d/optout.

Reply via email to