Quantcast
Viewing all articles
Browse latest Browse all 3509

How to prevent VS from inserting a space after a close curly brace

Doing Mustache in an html page.  The first line below is what I need the text to stay as.    The second line is after VS reformats the code.  How do I stop it from inserting the spaces after the closing curly braces? 

Good code

<option value="1" {{#selected}}{{data.RowNumber}}|1{{/selected}}>01</option>

bad code (inserted a space after each set of closing curlys)

            <option value="1" {{#selected}} {{data.RowNumber}} |1{{/selected}}>01</option>

Thanks


Viewing all articles
Browse latest Browse all 3509

Trending Articles



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