This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Link tag helper should include original element's attributes in fallbacks #4084
Comments
/cc @DamianEdwards ?? |
Given cases like http://codepen.io/tigt/post/async-css-without-javascript where you'd want extra attributes to get different behavior, then yes, it should probably preserve the extra attributes. I actually thought I remembered writing the code to do that... Does it work in the script TH? |
For some definition of "work" i.e. modulo #4083, yes. |
<link>
tag helper include original element's attributes in fallbacks?
NTaylorMullen
added a commit
that referenced
this issue
Jul 23, 2016
- Updated functional tests and link tag script to include modified extra attributes content. #4084
NTaylorMullen
added a commit
that referenced
this issue
Jul 29, 2016
- Updated functional tests and link tag script to include modified extra attributes content. #4084
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
E.g.
.cshtml
contains:Generated HTML with a few extra newlines:
Note the
data-extra
is not included in the<link>
element in the JavaScript, ready to be written into the document. Should it?The text was updated successfully, but these errors were encountered: