Skip to content
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
@natemcmaster

Description

@natemcmaster

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" />

Repro:
https://github.com/natemcmaster/mvc-issue-2841

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions