liquid_feedback_frontend
changeset 181:105abd1d4996
Respect newlines in suggestions instead of pre-formatting them
author | bsw |
---|---|
date | Sun Oct 31 23:51:00 2010 +0100 (2010-10-31) |
parents | 02aacb3dffe0 |
children | 24b61c3fd933 |
files | app/main/suggestion/_suggestion.lua static/style.css |
line diff
1.1 --- a/app/main/suggestion/_suggestion.lua Sun Oct 31 23:38:43 2010 +0100 1.2 +++ b/app/main/suggestion/_suggestion.lua Sun Oct 31 23:51:00 2010 +0100 1.3 @@ -12,10 +12,7 @@ 1.4 ui.container{ 1.5 attr = { class = "suggestion_content wiki" }, 1.6 content = function() 1.7 - ui.tag{ 1.8 - tag = "pre", 1.9 - content = suggestion.description 1.10 - } 1.11 + slot.put(encode.html_newlines(suggestion.description)) 1.12 end 1.13 } 1.14 end