diff --git a/src/Lunet.Bundles/BundleProcessor.cs b/src/Lunet.Bundles/BundleProcessor.cs index 8c52d00..bbbbe9e 100644 --- a/src/Lunet.Bundles/BundleProcessor.cs +++ b/src/Lunet.Bundles/BundleProcessor.cs @@ -399,7 +399,7 @@ public void AppendContent(string mode, string content) // so we are handling this case by setting charset rule at the beginning of the concat if (Kind == "css" && content.StartsWith("@charset ")) { - var endOfCharset = content.IndexOf('\n'); + var endOfCharset = content.IndexOf(';'); string charset = null; if (endOfCharset > 0) {