mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
Fixing conditional comments fix
--HG-- branch : 1.x
This commit is contained in:
@@ -61,10 +61,10 @@ namespace Orchard.UI.Resources {
|
||||
public static void WriteResource(TextWriter writer, ResourceDefinition resource, string url, string condition, Dictionary<string, string> attributes) {
|
||||
if (!string.IsNullOrEmpty(condition)) {
|
||||
if (condition == NotIE) {
|
||||
writer.WriteLine("<!--[if " + condition + "]>");
|
||||
writer.WriteLine("<!--[if " + condition + "]>-->");
|
||||
}
|
||||
else {
|
||||
writer.WriteLine("<!--[if " + condition + "]>-->");
|
||||
writer.WriteLine("<!--[if " + condition + "]>");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user