Express Edition Doesn't Respect Maintain Source Formating

Last post 07-02-2009 3:46 PM by dch3. 5 replies.

Sort Posts:

  • Express Edition Doesn't Respect Maintain Source Formating

    06-24-2009, 10:59 PM
    • Member
      70 point Member
    • dch3
    • Member since 12-17-2008, 11:22 PM
    • Posts 239

    For whatever the reason, Express will portions of my page source and collapse all of the formating to place all of the tags onto a single line. It only seems to be happening on child pages but its annoying the hell out of me.


    Any ideas on how to make it stop?

  • Re: Express Edition Doesn't Respect Maintain Source Formating

    06-27-2009, 3:42 PM

    Do you have SP1 and this hotfix http://forums.asp.net/t/1400916.aspx installed?

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Express Edition Doesn't Respect Maintain Source Formating

    07-02-2009, 7:51 AM
    Answer
    • Star
      11,839 point Star
    • shahed.kazi
    • Member since 07-09-2008, 2:15 AM
    • Sydney, Australia
    • Posts 2,328

    You can use Edit > Format Document to format a document.

  • Re: Express Edition Doesn't Respect Maintain Source Formating

    07-02-2009, 2:57 PM
    • Member
      70 point Member
    • dch3
    • Member since 12-17-2008, 11:22 PM
    • Posts 239

    shahed.kazi:

    You can use Edit > Format Document to format a document.

    That worked, but it would have been nice if you'd mentioned EDIT > FORMAT SELECTION before I Formatted the entire document which deleted out the various tabbing that I had in place. I like to have the start/end tags easily visible as in

    <td>

             Content Here

    </td>

    But I won't complain,.

  • Re: Express Edition Doesn't Respect Maintain Source Formating

    07-02-2009, 3:39 PM
    Answer

    You can customize per tag formatting - click Per Tag Formatting... button in Tools | Options | Text Editor | HTML | Formatting. Generally formatter preserves spacing as defined in HTML rules. For example, <td>Text</td> is different in the browser from

    <td>

    Text

    </td>

    since at least one line break will be rendered as extra space. Formatter tries not to add additional spaces.

     

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Express Edition Doesn't Respect Maintain Source Formating

    07-02-2009, 3:46 PM
    • Member
      70 point Member
    • dch3
    • Member since 12-17-2008, 11:22 PM
    • Posts 239

    I honestly don't believe in killing the messenger, but it does effectly get out a lot of frustration.

Page 1 of 1 (6 items)