Test f├╝r eingebettetes JSON ├╝berarbeitet: PHP generiert das JSON anders
authorKai Moritz <kai@juplo.de>
Thu, 9 May 2019 15:42:13 +0000 (17:42 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 9 May 2019 15:42:13 +0000 (17:42 +0200)
Ausprobiert, ob der Mechanismus auch funktioniert, wenn Slashes ("/") in URL's
so wie von PHP generiert mit "\/" escaped werden.

dist/potemkin/accelerator.html

index ceb8820..91b1fdf 100644 (file)
@@ -8,35 +8,35 @@
       marginalcontent=~{:: .marginalcontent}, json='MERGE:potemkin.json,MERGE:
       {
         &quot;_titles&quot;: {
-          &quot;/potemkin/accelerator.html&quot;: &quot;Accelerator&quot;,
-          &quot;/potemkin/accelerator.html#read-on&quot;: &quot;Read on&quot;,
-          &quot;/potemkin/accelerator.html#read-on-and-on&quot;: &quot;Read on and on&quot;,
-          &quot;/potemkin/accelerator.html#read-on-and-on-and-on&quot;: &quot;Read on and on and on&quot;,
-          &quot;/projects.html&quot;: &quot;Projects&quot;
+          &quot;\/potemkin\/accelerator.html&quot;: &quot;Accelerator&quot;,
+          &quot;\/potemkin\/accelerator.html#read-on&quot;: &quot;Read on&quot;,
+          &quot;\/potemkin\/accelerator.html#read-on-and-on&quot;: &quot;Read on and on&quot;,
+          &quot;\/potemkin\/accelerator.html#read-on-and-on-and-on&quot;: &quot;Read on and on and on&quot;,
+          &quot;\/projects.html&quot;: &quot;Projects&quot;
         },
         &quot;_childs&quot;: {
-          &quot;/potemkin/accelerator.html&quot;: [
-            &quot;/potemkin/accelerator.html&quot;,
-            &quot;/potemkin/accelerator.html#read-on&quot;,
-            &quot;/potemkin/accelerator.html#read-on-and-on&quot;,
-            &quot;/potemkin/accelerator.html#read-on-and-on-and-on&quot;
+          &quot;\/potemkin\/accelerator.html&quot;: [
+            &quot;\/potemkin\/accelerator.html&quot;,
+            &quot;\/potemkin\/accelerator.html#read-on&quot;,
+            &quot;\/potemkin\/accelerator.html#read-on-and-on&quot;,
+            &quot;\/potemkin\/accelerator.html#read-on-and-on-and-on&quot;
           ],
-          &quot;/projects.html&quot;: [
-            &quot;/potemkin/accelerator.html&quot;,
-            &quot;/potemkin/fix-swf/overview.html&quot;,
-            &quot;/potemkin/html-experimente.html&quot;,
-            &quot;/potemkin/typo.html&quot;,
-            &quot;/projects.html&quot;
+          &quot;\/projects.html&quot;: [
+            &quot;\/potemkin\/accelerator.html&quot;,
+            &quot;\/potemkin\/fix-swf\/overview.html&quot;,
+            &quot;\/potemkin\/html-experimente.html&quot;,
+            &quot;\/potemkin\/typo.html&quot;,
+            &quot;\/projects.html&quot;
           ]
         },
         &quot;_crumbs&quot;: {
-          &quot;/potemkin/accelerator.html&quot;: [
-            &quot;/projects.html&quot;,
-            &quot;/potemkin/accelerator.html&quot;,
-            &quot;/potemkin/accelerator.html&quot;
+          &quot;\/potemkin\/accelerator.html&quot;: [
+            &quot;\/projects.html&quot;,
+            &quot;\/potemkin\/accelerator.html&quot;,
+            &quot;\/potemkin\/accelerator.html&quot;
           ],
-          &quot;/projects.html&quot;: [
-            &quot;/projects.html&quot;
+          &quot;\/projects.html&quot;: [
+            &quot;\/projects.html&quot;
           ]
         }
       }