CasparCG/templategenerator

Brew custom params bug

dotarmin opened this issue · 1 comments

Originally from CasparCG/Server issue #7

Converted from SourceForge issue 3544560, submitted by jesper-s

http://www.casparcg.com/forum/viewtopic.php?f=10&t=811&p=4293#p4293

Replace line 435 from

var documentClassArray = documentClass.split("\n");

to

var documentClassArray = documentClass.split(/\r\n|\r|\n/);

Otherwise custom params wouldn't be recognized.

@jeansson Does this bug still exist?