Options

Conditional Comments for IE 9

jrhesseyjrhessey Registered Users Posts: 41 Big grins
edited August 12, 2013 in SmugMug Customization
I was referred to this forum, because the smugmug heroes can't answer my question about their backend coding. I doubt any of you are going to know how their backend works...

Smugmugs new backend screws up code comments. I'm not talking about comments that people leave about your pictures, I'm talking about comments in code that explain to people viewing the code whats going on

ie
<!--blah blah-->

gets changed to
&lt;!-- blah blah --&gt;

This code should not appear in any browser because I have commented it out, the browser should ignore it. Since smugmug changes the symbols, the browsers will display everything plus the html code.

Anyone know any reason why this would be happening? It only does this on code comments, all other html is fine.

Comments

  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited August 12, 2013
    I've seen that happen on my site in HTML boxes.

    I also have the problem with CSS comments /* */.
    I put one in and it grays out like it should but when I save and come back to the box they are gone.

    Firefox22
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    ian408ian408 Administrators Posts: 21,911 moderator
    edited August 12, 2013
    Don, I moved your other remark from Baldy's thread to a new one (which I've deleted since I found this).

    Can you link to a page that shows this? I don't see it when I look through your site.
    Moderator Journeys/Sports/Big Picture :: Need some help with dgrin?
  • Options
    ian408ian408 Administrators Posts: 21,911 moderator
    edited August 12, 2013
    btw, "<" is "<" and ">" is ">" so in theory, it shouldn't matter when it comes to processing the HTML.
    Moderator Journeys/Sports/Big Picture :: Need some help with dgrin?
  • Options
    jrhesseyjrhessey Registered Users Posts: 41 Big grins
    edited August 12, 2013
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited August 12, 2013
    jrhessey wrote: »
    haha I see. No good.

    <!-- blah blah -->
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    jrhesseyjrhessey Registered Users Posts: 41 Big grins
    edited August 12, 2013
    jrhessey wrote: »

    I agree that they should be the same, however the new backend does something with comments.
  • Options
    jrhesseyjrhessey Registered Users Posts: 41 Big grins
    edited August 12, 2013
    From another hero...

    Hi Don

    [HTML]I can confirm there's a bug here - the code is being converted to <!-- comment here -->

    I'll let our engineers know, so they can resolve this.
    All the best
    Bobby
    SmugMug Support Hero [/HTML]

    I guess we will wait until it's fixed now...

    Thanks for your help guys!!
  • Options
    ian408ian408 Administrators Posts: 21,911 moderator
    edited August 12, 2013
    jrhessey wrote: »
    I agree that they should be the same, however the new backend does something with comments.

    Yeah. It's ignoring them :)

    The HTML box has some kind of editor built in. When you enter "<!--", it turns dark grey and italic. But when you complete the comment, the editor doesn't seem to recognize as complete the same way it does with "<a" (which it completes for you).
    Moderator Journeys/Sports/Big Picture :: Need some help with dgrin?
  • Options
    jrhesseyjrhessey Registered Users Posts: 41 Big grins
    edited August 12, 2013
    Do they post bug fixes somewhere or do we just try it until we notice it is fixed?
  • Options
    ian408ian408 Administrators Posts: 21,911 moderator
    edited August 12, 2013
    Not sure.
    Moderator Journeys/Sports/Big Picture :: Need some help with dgrin?
Sign In or Register to comment.