You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/03/23 16:11:21 UTC
[sling-site] branch master updated: Avoid too wide preformatted
blocks
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 1a9fe00 Avoid too wide preformatted blocks
1a9fe00 is described below
commit 1a9fe00466827089e4ec5b32a270c17e4167fd60
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Mar 23 17:11:07 2020 +0100
Avoid too wide preformatted blocks
---
.../manipulating-content-the-slingpostservlet-servlets-post.md | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/main/jbake/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.md b/src/main/jbake/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.md
index bc3909e..8a9a311 100644
--- a/src/main/jbake/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.md
+++ b/src/main/jbake/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.md
@@ -719,8 +719,8 @@ Other parameters for the import operation:
For example the following command line imports the `/content/sample` page:
- $ curl -F":operation=import" -F":contentType=json" -F":name=sample" \
- -F':content={ "jcr:primaryType": "nt:unstructured", "propOne" : "propOneValue", "childOne" : { "childPropOne" : true } }' \
+ $ curl -F":operation=import" -F":contentType=json" -F":name=sample" \
+ -F':content={ "jcr:primaryType": "nt:unstructured", "p1" : "p1Value", "child1" : { "childProp1" : true } }' \
http://host/content
@@ -739,7 +739,11 @@ For example the following form imports the `/content/sample` page:
<input type="hidden" name=":contentType" value="json" />
<input type="hidden" name=":nameHint" value="sample" />
- <input type="text" name=":content" value="{ "jcr:primaryType" : "nt:unstructured" , "propOne" : "propOneValue", "childOne" : { "childPropOne" : true } }" />
+ <input type="text" name=":content" value="{
+ "jcr:primaryType" : "nt:unstructured" ,
+ "propOne" : "propOneValue",
+ "childOne" : { "childPropOne" : true } }"
+ />
<input type="Submit" />
</form>