Menu

All my code on the same line...

2007-10-12
2012-11-13
  • Nobody/Anonymous

    HELP!

    I just opened an html page with notepad++ and, HORROR, all my code is now on the same line and it's now impossible to edit at all...

    It's supposed to look like that:
    http://www.godrakkargo.com/junk/normal.jpg

    But now it's like that
    http://www.godrakkargo.com/junk/phoque.jpg

    Is there any way to make Notepad++ change line every time there's a closing bracket ">" ?

    Thank you!

    Steeve

     
    • pshute

      pshute - 2007-10-12

      You could use the advanced find/replace (control+r).  Make sure the regex option is off, then replace > with newline (control+m).  See http://notepad-plus.wiki.sourceforge.net/FindReplaceNewlineHowTo for more details.

      The HTMLTidy plugin might help too.

       
MongoDB Logo MongoDB