diff --git a/examples/chat/views/index.jade b/examples/chat/views/index.jade index 0633d8b..f5df3b8 100644 --- a/examples/chat/views/index.jade +++ b/examples/chat/views/index.jade @@ -38,7 +38,7 @@ html }); function message (from, msg) { - $('#lines').append($('
').append($('').text(from), msg)); + $('#lines').append($('
').append($('').text(from), $('').text(msg))); } // dom manipulation