We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example:
@{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>c61225_Index</title> </head> <body> <div> @{ var x = Html.X(); } @x.ResourceManager() @( x.TextField() .Triggers( x.FieldTrigger() .Icon(TriggerIcon.Ellipsis) .Handler(@" alert('test'); ") ) ) </div> </body> </html>
Generates the following error in its JavaScript output:
triggers: {"_trigger1":{handler:function(){\n alert('test');\n }...
The '\n' are output unescaped and outside strings. In fact they should be actual line breaks instead. Or nothing, if "minifying" the output.
The text was updated successfully, but these errors were encountered:
As a solution for this, the same @<text></text> mechanism installed in Ext.NET Mobile can be implemented here.
@<text></text>
Sorry, something went wrong.
No branches or pull requests
The following example:
Generates the following error in its JavaScript output:
The '\n' are output unescaped and outside strings. In fact they should be actual line breaks instead. Or nothing, if "minifying" the output.
The text was updated successfully, but these errors were encountered: