When placeholder has HTML comments that end at the end of file it causes exception:
catberry/lib/server/streams/ParserDuplex.js:242
var tag = String.concat(this._tagBuffer,
^
TypeError: Object function String() { [native code] } has no method 'concat'
at PlaceholderTransform.ParserDuplex._parseTokens (/Users/pragmadash/Projects/flamp/node_modules/catberry/lib/server/streams/ParserDuplex.js:242:21)
at PlaceholderTransform.ParserDuplex._write (/Users/pragmadash/Projects/flamp/node_modules/catberry/lib/server/streams/ParserDuplex.js:107:7)
at doWrite (_stream_writable.js:226:10)
at writeOrBuffer (_stream_writable.js:216:5)
at PlaceholderTransform.Writable.write (_stream_writable.js:183:11)
at write (_stream_readable.js:583:24)
at flow (_stream_readable.js:592:7)
at _stream_readable.js:560:7
at process._tickCallback (node.js:415:13)