|
|
|
|
@ -11,12 +11,12 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers
|
|
|
|
|
public class AbpTagHelperStyleService : AbpTagHelperResourceService
|
|
|
|
|
{
|
|
|
|
|
public AbpTagHelperStyleService(
|
|
|
|
|
IBundleManager bundleManager,
|
|
|
|
|
IBundleManager bundleManager,
|
|
|
|
|
IWebContentFileProvider webContentFileProvider,
|
|
|
|
|
IOptions<BundlingOptions> options,
|
|
|
|
|
IHostingEnvironment hostingEnvironment
|
|
|
|
|
) : base(
|
|
|
|
|
bundleManager,
|
|
|
|
|
bundleManager,
|
|
|
|
|
webContentFileProvider,
|
|
|
|
|
options,
|
|
|
|
|
hostingEnvironment)
|
|
|
|
|
@ -39,7 +39,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers
|
|
|
|
|
|
|
|
|
|
protected override void AddHtmlTag(TagHelperContext context, TagHelperOutput output, string file)
|
|
|
|
|
{
|
|
|
|
|
output.Content.AppendHtml($"<link rel=\"stylesheet\" type=\"text/css\" href=\"{file}\" />{Environment.NewLine}");
|
|
|
|
|
output.Content.AppendHtml($"<link rel=\"stylesheet\" href=\"{file}\" />{Environment.NewLine}");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|