mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
#18336: Fixing stylesheets rendering
Work Item: 18336 --HG-- branch : 1.x
This commit is contained in:
@@ -313,8 +313,9 @@ namespace Orchard.Core.Shapes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Shape]
|
[Shape]
|
||||||
public void Style(TextWriter Output, ResourceDefinition Resource, string Url, string Condition, Dictionary<string, string> TagAttributes) {
|
public void Style(dynamic Display, HtmlHelper Html, TextWriter Output, ResourceDefinition Resource, string Url, string Condition, Dictionary<string, string> TagAttributes) {
|
||||||
ResourceManager.WriteResource(Output, Resource, Url, Condition, TagAttributes);
|
// do not write to Output directly as Styles are rendered in Zones
|
||||||
|
ResourceManager.WriteResource(Html.ViewContext.Writer, Resource, Url, Condition, TagAttributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Shape]
|
[Shape]
|
||||||
|
Reference in New Issue
Block a user