Drupal 7: preprocess html samples. From https://github.com/Krimson/wundertheme/blob/master/template.php