X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/89e0669692eaf597596f1da36e8c385330c594ff..1335c31e852ed89637b529c8d4f6f7b9a0a19dae:/doc/bugs/Problems_with_graphviz.pm_plug-in_previews.mdwn?ds=inline
diff --git a/doc/bugs/Problems_with_graphviz.pm_plug-in_previews.mdwn b/doc/bugs/Problems_with_graphviz.pm_plug-in_previews.mdwn
index 3b77a48bb..c77bbeeaf 100644
--- a/doc/bugs/Problems_with_graphviz.pm_plug-in_previews.mdwn
+++ b/doc/bugs/Problems_with_graphviz.pm_plug-in_previews.mdwn
@@ -28,19 +28,27 @@
>>> Despite this patch I am still experiencing the problem. Normal page source for a graph contains:
- <div id="content">
- <p><img src="./graph-c9fd2a197322feb417bdedbca5e99f5aa65b3f06.png" /></p>
+
+
![](./graph-c9fd2a197322feb417bdedbca5e99f5aa65b3f06.png)
- </div>
+
>>> preview contains
- <div id="preview">
- <p><img src="./demo/diagrams/graph-c9fd2a197322feb417bdedbca5e99f5aa65b3f06.png" /></p>
+
+
![](./demo/diagrams/graph-c9fd2a197322feb417bdedbca5e99f5aa65b3f06.png)
- </div>
+
>>> I don't quite understand why, this makes sense from the CGI path (in my
>>> case from the root of the site). The browsers appear to be trying to fetch
>>> `/demo/diagrams/demo/diagrams/graph-c9fd2a197322feb417bdedbca5e99f5aa65b3f06.png`
>>> (i.e., prepending the required relpath twice). -- [[Jon]]
+
+>>>> Yeah, that patch may have been right once, but it's wrong now;
+>>>> preview mode uses `` to make urls work the same as they would
+>>>> when viewing the html page.
+>>>>
+>>>> Perhaps this was not noticed for a while while because it only
+>>>> shows up if previewing an *unchanged* graph on a page that has already
+>>>> been built before. Fixed now. [[done]] --[[Joey]]