SLING-5461 - Sightly quotes all markup attributes' values with double quotes

* attributes' quotes from the script are now maintained in the outputted markup

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727349 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/resources/SLING-INF/apps/sightly/scripts/attributequotes/attributequotes.html b/src/main/resources/SLING-INF/apps/sightly/scripts/attributequotes/attributequotes.html
new file mode 100644
index 0000000..8dab38c
--- /dev/null
+++ b/src/main/resources/SLING-INF/apps/sightly/scripts/attributequotes/attributequotes.html
@@ -0,0 +1,25 @@
+<!--/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/-->
+<div id='singleQuotes'>
+    <span data-resource='{"resource" : "${resource.path}"}'>${resource.path}</span>
+</div>
+<div id="doubleQuotes">
+    <span data-resource="${resource.path}">${resource.path}</span>
+</div>
+<div id=noQuotes>
+    <span data-resource=${resource.path}>${resource.path}</span>
+</div>
diff --git a/src/main/resources/SLING-INF/sightly.json b/src/main/resources/SLING-INF/sightly.json
index 040d487..9eedc65 100644
--- a/src/main/resources/SLING-INF/sightly.json
+++ b/src/main/resources/SLING-INF/sightly.json
@@ -28,5 +28,9 @@
     "use-sibling-dependency-resolution": {
         "jcr:primaryType": "nt:unstructured",
         "sling:resourceType": "/apps/sightly/scripts/siblingdeps/component"
+    },
+    "attributequotes": {
+        "jcr:primaryType": "nt:unstructured",
+        "sling:resourceType": "/apps/sightly/scripts/attributequotes"
     }
 }