How to Add HTML to Text Files

Code that uses the add_tags() function (from the home_view.php file)

// Get first paragraph of description
$description_with_tags = add_tags($description);
$i = strpos($description_with_tags, "</p>");

Back