Rev 7: TODO about further work. in http://bzr.arbash-meinel.com/branches/bzr/extra/moin_graphviz

John Arbash Meinel john at arbash-meinel.com
Tue Apr 3 00:57:50 BST 2007


At http://bzr.arbash-meinel.com/branches/bzr/extra/moin_graphviz

------------------------------------------------------------
revno: 7
revision-id: john at arbash-meinel.com-20070402235747-7l90uoalf1vcifui
parent: john at arbash-meinel.com-20070402235258-g9rga4lgdmofatpy
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: moin_graphviz
timestamp: Mon 2007-04-02 18:57:47 -0500
message:
  TODO about further work.
modified:
  graphviz.py                    graphviz.py-20070402222439-3qloodrjtlsuaz1o-1
-------------- next part --------------
=== modified file 'graphviz.py'
--- a/graphviz.py	2007-04-02 23:52:58 +0000
+++ b/graphviz.py	2007-04-02 23:57:47 +0000
@@ -68,6 +68,12 @@
         """Send the text."""
         img_str = ('<img src="data:image/png;base64,%s"'
                    ' alt="Graphviz Image" />') % (self._create_b64_png(),)
+        # TODO: jam 20070402 Are we supposed to be calling wikiutil.escape?
+        #       The MoinMoin wiki seems to say that we should trap rawHTML in a
+        #       try/except and fall back to escapedText or something else.
+        #       http://moinmoin.wikiwikiweb.de/ParserMarket
+        #       However, since we are inlining an image, it seems like anything
+        #       other than rawHTML should fail.
         self.request.write(formatter.rawHTML(img_str))
 
 



More information about the bazaar-commits mailing list