I get a textarea with a keyup function attached. When the user type something, I want this text to be rendered inside the blockquote tag. It works, but id doesn't take the newline and spaces. Can you helpe me?
$('#post_body').keyup(function() {
$('blockquote').find('span').text($(this).val());