http://bugzilla.novell.com/show_bug.cgi?id=628683

http://bugzilla.novell.com/show_bug.cgi?id=628683#c0


           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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8)
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:
12345678

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

Workaround:
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to