Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alec Colebrook-Clark 134 posts 258 karma points
    Oct 27, 2009 @ 11:48
    Alec Colebrook-Clark
    0

    Curiouser and Curiouser, A possible bug?

    Hi All,

    I hope this is in the right area to start with. I mention a bug in the title but thats all i can deem it. I state now that everything is working a-ok.

    A couple of days while demo-ing a site in IE 8 i noticed that umbraco decided to add <!--[endif]--> into certain rich text editors. I  wish i could have seen a parten but on the surface it was very random, made all the more random by only a certain doctype being affected and even then only random rich text fields within each node.

    While i believe i have solved the problem by manually removing the statements im curious to see if anyone else had noticed a similar problem and if they are any clearer on what caused it.

    Cheers,

    Alec

  • dandrayne 1138 posts 2262 karma points
    Oct 27, 2009 @ 12:07
    dandrayne
    1

    Not seen this myself, but just to add that it seems like an IE conditional comment that is being added, for whatever reason

    <!--[if IE 6]>
    oh boy
    <![endif]-->

    Dan

  • Alec Colebrook-Clark 134 posts 258 karma points
    Oct 27, 2009 @ 15:51
    Alec Colebrook-Clark
    0

    Yeah thats what I thought. I have some within my css for a side navigation that has been implemented but thats it and I wouldnt know why it would randomly input it in the rich text editor

    Any other thoughts?

    Alec

  • Claire Botman 48 posts 77 karma points
    Oct 27, 2009 @ 16:47
    Claire Botman
    3

    I've seen this displayed in IE browsers when content from Word has been pasted directly into tinymce, complete with all the horrible markup that goes with it.  In particular bulleted or numbered lists pasted from Word. 

    Once the pasted code even stopped the rendering of the remainder of the text & the page stopped dead at the point where the offending code was.

  • Alec Colebrook-Clark 134 posts 258 karma points
    Nov 02, 2009 @ 10:07
    Alec Colebrook-Clark
    0

    Ahhh. This leads me to believe that it could just be a copy and paste thing. The error occured in IE when i copied and pasted content from an existing website in firefox.

  • Stephan Lonntorp 195 posts 212 karma points
    Nov 02, 2009 @ 12:18
    Stephan Lonntorp
    1

    This is a classic Paste-From-Word issue. What you're seeing is part of the MS Word style declaration. One could think that Tidy would clean it away, but no.

     

    //S

  • Alec Colebrook-Clark 134 posts 258 karma points
    Nov 03, 2009 @ 10:14
    Alec Colebrook-Clark
    0

    Ahhh thanks Stephan!

Please Sign in or register to post replies

Write your reply to:

Draft