I suggest you ...

Razor: self containing attributes in htmlAttributes

When applying schema.org there are a lot of self containing attributes (attributes without a value).

for example:

<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">

Now you have to define htmlattributes like this and add an empty string for value:
new { @itemprop = "itemListElement", @itemscope = "", @itemtype = "http://schema.org/ListItem&quot; }

might be an area to improve...

3 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base