I am attempting to include text with quotes in a DIV, like so:
"All is well that ends well"
The text is generated dynamically and I'm using a JavaScript font replacement plugin (CUFON) to add quotes around the text. Sometimes, the ending quote drops down to the next line due to word wrapping, resulting in this:
"All is well that ends well "
Is there a way to prevent this issue? I haven't been able to find a solution yet. The code looks something like this:
$("#q1").html('<span class="blue_quotes">“ </span>');
$("#ct1").html($.trim(commentText)+'<span class="blue_quotes">” </span>');
I included span tags for the quotes because I require a different font and color for them.