ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

expression engine inserting <i> tags everywhere into code

November 10, 2011 1:38pm

Subscribe [3]
  • #1 / Nov 10, 2011 1:38pm

    heaversm

    197 posts

    Hi - I’ve got a weird issue with EE inserting nested <i> tags everywhere into my code. It has something to do with the face that the

     tag is outputting code - and while that code gets put in properly, the <i> tags also appear. Any ideas?
    
    <pre><section id="project_container">
     <div id="project_view" class="box">
      <div id="project"></div>
      <div id="code">
       <pre>
        {project_code}
       </pre>
    <p>  </div><br />
     </div><br />
     <!—end project view—><br />
     <div id=“project_info” class=“box”></pre>

  • #2 / Nov 11, 2011 8:44am

    Sue Crocker

    26054 posts

    Hi, heaversm.

    That’s certainly a weird one.

    Are you using any sort of CSS settings for pre? If I put this code in a template all by itself, I have no context here. Is this inside an exp:channel:entries loop? What’s an example {project_code}?

  • #3 / Nov 17, 2011 12:14pm

    heaversm

    197 posts

    I solved this one - it was a problem with the content contained in {project_code} - I ended up needing to place <pre><code> tags around all the code in the {project_code} field.

  • #4 / Nov 18, 2011 8:22pm

    Sean C. Smith

    3818 posts

    Hi heaversm,

    Glad that you have it worked out. I’m closing this thread, but do feel free to post again as needed.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases