title: How to send flash data in codeigniter when part of it is a link
body: <p>I have to show flash data which contains a link. I tried the following but link is not shown as it should.</p>
  
  <p>How can I add link in flashdata?
  I tried this:</p>
  
  <pre><code>$cancell =  "&lt;a href='&lt;?php echo site_url('document/index');?&gt;Cancell&lt;/a&gt;"; 
               $this-&gt;session-&gt;set_flashdata('success',
                  'You successfully created the document! ' . $cancell .', if you want to cancell it!');
      redirect('document/index/');
  </code></pre>