Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Tilde slash feature not work properly if has any space near equal sign [1196]

$
0
0
Don't sure that this problem had been reported before
but I can't not find it in issue list.

I've found that ASP.NET MVC 4 / Razor 2's new tilde slash (~/) feature
stop working if has space around equal sign (=).

This behavior is so strange in my opinion.
Is this should be improved or fixed?
or just by design behavior?

Thanks.

The example code: Index.cshtml
```
@{
ViewBag.Title = "Index";
}

<h2>Index</h2>

<img src="~/Images/keyboard.png" />
<hr />
<img src= "~/Images/keyboard.png" />
<hr />
<img src ="~/Images/keyboard.png" />
<hr />
<img src = "~/Images/keyboard.png" />
<hr />

```

and output result:
![Image](http://content.screencast.com/users/suthep1110/folders/Snagit/media/ee0828a5-cfbe-4c58-9288-2df908d7d96f/08.06.2013-21.49.png)

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>