Visual Studio inserting indents as spaces to html output

Posted by Yucel on Stack Overflow See other posts from Stack Overflow or by Yucel
Published on 2011-01-04T11:50:29Z Indexed on 2011/01/04 11:53 UTC
Read the original article Hit count: 178

Hi, I am using Visual Studio 2010 for an MVC website project. I have an big problem and dont know hot to solve it. When i am looking to the output of html in firebug indents in my aspx and ascx files are outputed as space in same places. I think its about line ending of files but i am not sure how to fix them. I am adding some pictures about problem.alt text

alt text

alt text

When i am adding a breakpoint it also add red background to spaces (this is problem) I try to delete spaces after hit ctrl+k d same problem happen. If i delete all indents make page 1 line without spaces output is fine but it not a solution.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about html