haml layout rails markdown occur blank space .

55 views
Skip to first unread message

liyon...@gmail.com

unread,
Jan 24, 2017, 9:19:25 PM1/24/17
to Haml

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```"]








but using erb template:






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





Reply all
Reply to author
Forward
0 new messages