Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: underscore prefix not CLSCompliant [151]

$
0
0
Since the fix for Issue #133 an underscore prefix is added to generated class names of Editor- and DisplayTemplates.

However, class names prefixed with "_" are not considered CLS compliant.

I tried to use directive "TrimLeadingUnderscores" to avoid the prefix.
However, it appears as if the directive is applied *BEFORE* the "_" is inserted.

I see two possible solutions:
1. "_" is replaced with a CLS compliant prefix (or postfix)
2. directive "TrimeLeadingUndescores" is applied *AFTER* the "_" is inserted (and hence will remove it)



Comments: Fixed in changeset bb0132b679b02e2e85535c05b0ccd973ed83b522

Viewing all articles
Browse latest Browse all 525

Trending Articles



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