I\'m using this for a show/hide div expander, which is working fine, however, the HTML entities aren\'t being outputted.
$(document).ready(function() { $(\'.
.text() doesn't process any html entity. You must use .html() in this case.