You can use jQuery function .text()which will remove HTML tags:
var text_only = $('.snippet').text();
Here is a demo: http://jsfiddle.net/meZjw/
Docs for .text(): http://api.jquery.com/text
UPDATE
Sime Vidas , .snippet, HTML :
$.each($('.snippet'), function (index, obj) {
var $this = $(this);
$this.html($this.text());
});
$.each(): http://jsfiddle.net/meZjw/1/
UPDATE
Aepheus , , , , , HTML, :
function htmlEntities(str) {
return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
}
: http://jsfiddle.net/meZjw/2/
UPDATE
.text() .html() , , , HTML- :
$.each($('.snippet'), function (index, obj) {
var $this = $(this);
$this.text($this.html());
});
: http://jsfiddle.net/meZjw/31/