tpl: add sanity check to prevent panic in seq on big nums
authorbep <bjorn.erik.pedersen@gmail.com>
Thu, 30 Apr 2015 11:25:45 +0000 (13:25 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Thu, 30 Apr 2015 11:25:46 +0000 (13:25 +0200)
commitbe7b830f33ca947fc6109e631c40b1c3e10666dd
tree40e950cdd0f2bbf85652c3a1efede688d886f2ed
parentbe190fdb0d43592a3c8304fa4a1919a685e10b72
tpl: add sanity check to prevent panic in seq on big nums

Fixes #1092
helpers/general.go
tpl/template_test.go