Do not panic on index out of range in shortcode.Get
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Aug 2015 17:21:26 +0000 (19:21 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Aug 2015 17:21:26 +0000 (19:21 +0200)
commit35bb72c83efbdd868af9b32af034993c245b4584
tree8eb5e222cdad16384b810d0a93d4e73578065eb7
parent2805a6f80e1e68d2d3df4ba7f63e7455c3802899
Do not panic on index out of range in shortcode.Get

Fixes #1335
hugolib/shortcode.go
hugolib/shortcode_test.go