tplimpl: Fix instagram shortcode panic on invalid ID
authorCameron Moore <moorereason@gmail.com>
Fri, 17 Feb 2017 16:47:21 +0000 (10:47 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 17 Feb 2017 16:50:37 +0000 (17:50 +0100)
commitd3abb93cc7a2a61557560543919f2e4c0a1cbd7a
tree3f8968458e2678fe39f11a99b94c499328fdbe01
parentb7aa230458bd5477412f23f40c7bd4986757303d
tplimpl: Fix instagram shortcode panic on invalid ID

Instagram doesn't return a valid JSON response when the requested ID is
invalid or not found.

Fixes #3048
tpl/tplimpl/template_embedded.go