ass-stringify
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -23,6 +23,6 @@ 'use strict'; | ||
var stringifySection = function (section) { | ||
var head = '[' + section.section + ']\n'; | ||
var head = '[' + section.section + ']'; | ||
var format = null; | ||
return head + section.body.map(function (descriptor) { | ||
var body = section.body.map(function (descriptor) { | ||
var method = (descriptor.type == 'comment') ? 'comment' | ||
@@ -39,2 +39,4 @@ : (descriptor.key == 'Format') ? 'formatSpec' | ||
}).join('\n'); | ||
return body ? head + '\n' + body : head; | ||
}; | ||
@@ -41,0 +43,0 @@ |
{ | ||
"name": "ass-stringify", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Stringify ass-parser parse tree to plain SSA/ASS subtitle format", | ||
@@ -5,0 +5,0 @@ "author": "Eugene Sharygin <eush77@gmail.com>", |
3951
35