Copied to clipboard

Flag this post as spam?

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


  • Kyle Skrinak 272 posts 327 karma points
    Jul 18, 2012 @ 21:21
    Kyle Skrinak
    0

    masterpage line breaks are not showing in final web page

    In my masterpage:

            
    
    
    
    
            

    Output html:

            

    The rub being, I want each meta tag on its own line. This is in my top-most masterpage.

  • Nigel Wilson 945 posts 2077 karma points
    Jul 18, 2012 @ 21:32
    Nigel Wilson
    0

    Hi Kyle

    hmmm ... something appears to be missing...   ;-)

    Cheers, Nigel

  • Kyle Skrinak 272 posts 327 karma points
    Jul 18, 2012 @ 21:34
    Kyle Skrinak
    0

    Yes, like a warning that tinyMCE is about to gut my code-text. Nothing more frustrating than carefully writing up a problem only to have the forum a) strip it down to meaninglessness and then b) not let me delete it. I keep getting an xslt parse error when either editing or deleting.

  • Kyle Skrinak 272 posts 327 karma points
    Jul 18, 2012 @ 21:35
    Kyle Skrinak
    0

    Anyhow, the skinny remains. Line breaks in my masterpage's head section aren't output, so my meta tags run in a single line. I'd like the editor's line breaks preserved. How?

  • Nigel Wilson 945 posts 2077 karma points
    Jul 18, 2012 @ 21:48
    Nigel Wilson
    1

    Hi Kyle

    Just found the following:

    http://stackoverflow.com/questions/3168844/asp-net-runat-server-removes-carriage-returns-from-head-tag

    Do you have runat="server" on your head tag ?

    Cheers, Nigel

  • Kyle Skrinak 272 posts 327 karma points
    Jul 18, 2012 @ 22:01
    Kyle Skrinak
    0

    Nigel, you rock. Removing that made the difference.

  • Nigel Wilson 945 posts 2077 karma points
    Jul 18, 2012 @ 22:14
    Nigel Wilson
    0

    Cheers man - pleased my random Google search proved useful ;-)

    Don't mean to tell you how to "suck eggs," but it'd be great if you could mark my post as the solution so others may benefit from that wee random tip.

    Take care, Nigel

  • Kyle Skrinak 272 posts 327 karma points
    Jul 18, 2012 @ 23:59
    Kyle Skrinak
    0

    Nigel; of course I tried googling a solution before coming here. I suspect you deprecate your knowledge when you say you did a "random" google search. I'm guessing you didn't google "task moon poetry" and find that article on runat="server" (although it would be mighty cool if you did.) Forming the "right" phrase in the mainstream language context of the problem domain makes all the difference in the world for a successful result. All stuff easily taken for granted.

  • Nigel Wilson 945 posts 2077 karma points
    Jul 19, 2012 @ 00:21
    Nigel Wilson
    0

    all good - and I hope my comments in no way were taken the wrong way..., my kiwi sense of humour can sometimes miss the mark, hence I am not a comedian

    Cheers, Nigel

Please Sign in or register to post replies

Write your reply to:

Draft