I don't think it's possible with pure css and html. Looking at this example http://jsbin.com/efeco4 you will see that what is inside content
property of css, is wrapped by the element. So any manipulation of the element will affect the css content
also.
So an alternative thought could be to use jquery, to empty the html content inside tag div
with class hidetext
without affect the content
of css. A sample code could be this:
$('.hidetext').empty();
Example: http://jsbin.com/efeco4/2