diff options
Diffstat (limited to 'src/css/sheet.nim')
-rw-r--r-- | src/css/sheet.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/css/sheet.nim b/src/css/sheet.nim index ec7780b8..aab602ec 100644 --- a/src/css/sheet.nim +++ b/src/css/sheet.nim @@ -194,6 +194,7 @@ proc parseStylesheet*(s: Stream): CSSStylesheet = for v in css.value: if v of CSSAtRule: result.addAtRule(CSSAtRule(v)) else: result.addRule(CSSQualifiedRule(v)) + s.close() proc parseStylesheet*(s: string): CSSStylesheet = return newStringStream(s).parseStylesheet() |