[Mono-bugs] [Bug 628683] New: ASP.NET <%: %> syntax removes whitespace

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 5 08:20:15 EDT 2010



           Summary: ASP.NET <%: %> syntax removes whitespace
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: denisv at post.skynet.lt
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:
Gecko/20100722 Firefox/3.6.8

Using ASP.NET 4.0 <%: %> syntax removes whitespace (spaces, newlines)
surrounding the <%: %> brackets. This slightly breaks formatting in, for
example, VS 2010 sample MVC project.

Version: Git 9cb4a1af6be5e57d58ab12ef27253083dee4fdfe, cloned 2010-08-05

Reproducible: Always

Steps to Reproduce:
1. Create test.aspx with the following content:
<%: "1234" %> <%: "5678" %>

Actual Results:  
With mod-mono-server4:

Expected Results:  
With MS ASP.NET Development Server:
1234 5678

Continue using <%= Server.HtmlEncode("stuff") %> instead of <%: "stuff" %>

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list