title: Twig doesn't render HTML tags
body: <p>Please I'll like to know why twig spill out output like this: <a href="http://twig.sensiolabs.org/doc/tags/filter.html" rel="noreferrer">http://twig.sensiolabs.org/doc/tags/filter.html</a></p>
  
  <p>This is what i'm working with:</p>
  
  <pre><code>class MyClass {
  
    public function loadViewWithContent($name, $variables) {
      $twig = load_twig();
      // look at the pages dir
      $page = getdir("pages") . $name . '.html';
      $variables['vars'] = $this-&gt;menuItem();
      if(file_exists($page)) {
        print $twig-&gt;render($name . '.html', $variables);
      }
    }
  
    public function menuItem() {
      $loginmenu = array(
        'text' =&gt; 'Login',
        'path' =&gt; '/login',
        'attributes' =&gt; array(
          'target' =&gt; '',
          'title' =&gt; 'Login'
        )
      );   
      $menus = array(
        'primary_menu' =&gt; array(
          'login' =&gt; $this-&gt;theme_link($loginmenu),
        ),
      );
  
      return $menus;
    }
  
    public function theme_link($menu) {
  
      if(is_array($menu)) {
        $output = '&lt;a href="' . $menu['path'] . '"&gt;' . $menu['text'] . '&lt;/a&gt;';
      }
      return $output;
    }
  
  }
  
  $clazz = new MyClass();
  $clazz-&gt;loadViewWithContent('home', array());
  </code></pre>
  
  <p><strong>home.html</strong></p>
  
  <pre><code>{{ vars.primary_menu.login }}
  </code></pre>
  
  <p>Displays <code>&lt;a href="/login"&gt;Login&lt;/a&gt;</code>  in browser</p>
  
  <p>Why are the HTML tags not rendered when displayed in a browser?</p>
  
  <p>Thanks for helping out.</p>