prevent line break in JavaScript inside ASP.NET tag's OnClientClick attribute
abbreviated code snippet:
<asp:LinkButton OnClientClick="return confirm('Are you sure you want to perform action X?');"
and after ReSharper "cleans up" (breaks the JavaScript functionality):
<asp:LinkButton OnClientClick="return
confirm('Are you sure you want to perform action X?'); "
I'm new to ReSharper, and there are a ton of line break options for HTML and C#, but apparently none for ASP.NET tags....
Please sign in to leave a comment.
Thank you for your request.
There is the same request in YouTrack: https://youtrack.jetbrains.com/issue/RSRP-459187 . You are welcome to follow and vote for it.