eevan79 Posted October 16, 2011 Share Posted October 16, 2011 I'm not sure that this issue belongs to this forum because of problems that do not understand. I do not know why this happens. When I look at the page source code is wrapped without spaces. It look like this: And here is source code: I know that this is not a big problem, but can be irritating, especially when looking at the page source for debugging and so on. This did not happen earlier. Does anyone know why this happens? Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted October 17, 2011 Share Posted October 17, 2011 all this really has to do with is the code editors right margin width.. wherein it will wrap large strings that go past the right margin boundary.. Quote Link to comment Share on other sites More sharing options...
eevan79 Posted October 17, 2011 Author Share Posted October 17, 2011 It is very strange because it never has happened. Perhaps with the new version of the program. I use Notepad++ and was looking at all options regarding text wrapping and margin boundary but any change has no effect. Still do not understand why file is saved differently - when I view page source it's all wrapped and I want to be same as I wrote. Has to do with settings options of code editor? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 17, 2011 Share Posted October 17, 2011 Your source file probably has had the new-line characters changed to just LF (line-feed) and the browser you are using doesn't recognize those as new-lines. Make sure that the new-line character setting in your editor is set to either CR or CRLF and re-save your file with the new setting. Quote Link to comment Share on other sites More sharing options...
eevan79 Posted October 17, 2011 Author Share Posted October 17, 2011 @PFMaBiSmAd, finally solved. I activated Show All Characters and it shows CR *without LF, so I converted it Win format. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.