title: PHP,CakePHP,HTML: The anchor tag is appended inside a code tag, how can seperate this anchor tag?
body: <pre><code>echo '&lt;tr class="class_row"&gt;';
  echo '&lt;td&gt;';
  
  echo $this-&gt;Html-&gt;link($post['Post']['title'],
                  array('controller'=&gt;'posts','action'=&gt;'view',$post['Post']['id']),
                  array('id'=&gt;'id_anchor_title','class'=&gt;'class_anchor_title') );
  echo '&lt;h6&gt;&lt;i&gt;'.$this-&gt;Time-&gt;format('d-M-Y',strtotime($post['Post']['created'])).'&lt;/i&gt;&lt;/h6&gt;';
  echo '&lt;br/&gt;';                           
  $last_paragraph=$post['Post']['body'];
  $length = strlen($last_paragraph);                  
  echo $this-&gt;Text-&gt;truncate($last_paragraph,150,array('ending' =&gt; '...','exact' =&gt; false));
  echo '&lt;br/&gt;';
  //echo debug($last_paragraph);
  if($length &gt; 151){
      echo $this-&gt;Html-&gt;link('more',
                  array('controller'=&gt;'posts','action'=&gt;'view',$post['Post']['id']),
                  array('id'=&gt;'id_anchor_more','class'=&gt;'class_anchor_more') );
  }
                  echo '&lt;/td&gt;';
  echo '&lt;td&gt;'.$this-&gt;Html-&gt;link('Edit',
                      array('controller'=&gt;'posts','action'=&gt;'edit',$post['Post']['id']) ).'&lt;/td&gt;';
  echo '&lt;td&gt;'.$this-&gt;Html-&gt;link('Delete',
                      array('controller'=&gt;'posts','action'=&gt;'delete',$post['Post']['id'])).'&lt;/td&gt;';
  echo '&lt;/td&gt;';
  echo '&lt;/tr&gt;';
  </code></pre>
  
  <p>The 'more' link/anchor is appended as a content/body of a post when I post something.</p>
  
  <p>How can I make/put a break and stop 'more' being an element of body?</p>
  
  <p>I got the following line as a content or body of a post, but it will a separate link.</p>
  
  <pre><code>&lt;a href="/posts/view/37" id="id_anchor_more" class="class_anchor_more"&gt;more&lt;/a&gt;
  </code></pre>
  
  <p>The link should be inside: </p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;Content..Data.. &lt;br/&gt;'more' &lt;/td&gt;
  &lt;td&gt;Edit&lt;/td&gt;
  &lt;td&gt;Delete&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Can someone help me to fix this problem ?</p>
  
  <p>Isn't possible to have the body and 'more' in same column <code>&lt;td&gt;</code> the problem is I'm using syntaxhighlighter <a href="http://alexgorbatchev.com/SyntaxHighlighter/" rel="nofollow noreferrer">http://alexgorbatchev.com/SyntaxHighlighter/</a>, when I put some code inside tag <code>&lt;pre class="brush: cpp"&gt; ...body.. &lt;/pre&gt;</code> then the problem occurs.</p>