This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Link tag helper does not expand comma-separated list #2841
Closed
Description
https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.TagHelpers/LinkTagHelper.cs#L118 says "asp-href-include" can include a comma-separated list of files and globs. Only the first file/pattern included is actually produced.
Setup:
<link asp-href-include="~/test1.css,~/test2.css" rel="stylesheet" />
Expected:
<link href="/test1.css" rel="stylesheet" />
<link href="/test2.css" rel="stylesheet" />
Actual:
<link href="/test1.css" rel="stylesheet" />