Update public.php to address bug in generating content_preview

$line["content_preview"] was modified just before reading $line again, cancelling the changes made by truncate_string() and strip_tags()