From 76f246eeb1d746a28ea5205bb7c179fad8436373 Mon Sep 17 00:00:00 2001 From: Hamed Ghasemzadeh Date: Thu, 19 Jan 2017 19:15:28 +0330 Subject: [PATCH] captcha is added --- configs.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs.go b/configs.go index dc745df..63ef350 100644 --- a/configs.go +++ b/configs.go @@ -372,6 +372,10 @@ func (config DocumentConfig) values() (url.Values, error) { func (config DocumentConfig) params() (map[string]string, error) { params, _ := config.BaseFile.params() + if config.Caption != "" { + params["caption"] = config.Caption + } + return params, nil }