Just starting with plugin development. I modified the code from pluginfactory.io for a custom tag:
public function navHTML()
{
$result = '<h2>Hello again</h2>';
return $result;
}
and I am getting output. The issue is the html tags are being converted to alt characters. Here is the actual source of my index page:
<h2>Testing</h2>
IT looks like Craft or Twig is converting the tags to alt characters. I need to create an unordered list html using the plugin. How do I prevent Craft or Twig from converting the HTML to alt characters?