Repository: struts-site Updated Branches: refs/heads/master 62800eb17 -> dfafd2af5
Fixes issue with a list Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/dfafd2af Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/dfafd2af Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/dfafd2af Branch: refs/heads/master Commit: dfafd2af5748588932a552e51e7d9388f589690b Parents: 62800eb Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Tue Sep 12 12:29:34 2017 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Tue Sep 12 12:29:34 2017 +0200 ---------------------------------------------------------------------- source/plugins/json/index.md | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts-site/blob/dfafd2af/source/plugins/json/index.md ---------------------------------------------------------------------- diff --git a/source/plugins/json/index.md b/source/plugins/json/index.md index 7586ccf..f63c221 100644 --- a/source/plugins/json/index.md +++ b/source/plugins/json/index.md @@ -151,6 +151,7 @@ the beginning and `wrapPostfix` to add content at the end. This settings take pr and `prefix` which are deprecated from 0.34 on. Examples: - Wrap with comments: + ```xml <result type="json"> <param name="wrapPrefix">/*</param> @@ -159,6 +160,7 @@ and `prefix` which are deprecated from 0.34 on. Examples: ``` - Add a prefix: + ```xml <result type="json"> <param name="wrapPrefix">{}&&</param> @@ -166,6 +168,7 @@ and `prefix` which are deprecated from 0.34 on. Examples: ``` - Wrap for file upload: + ```xml <result type="json"> <param name="wrapPrefix"><![CDATA[<html><body><textarea>]]></param>