Remove text properties of body before calculating cache hash.
commitd044ad3f1c192f53708aeef581e8b616e6bec286
authorDavid Maus <dmaus@ictsoc.de>
Tue, 6 Jul 2010 13:32:51 +0000 (6 13:32 +0000)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 6 Jul 2010 08:42:33 +0000 (6 10:42 +0200)
tree76f6700cc8df2ee5a207900c51d9602ad098dd61
parente1262e57d28e32afb4685b3b2c996784d866613e
Remove text properties of body before calculating cache hash.

* org-exp-blocks.el (org-export-blocks-format-ditaa)
(org-export-blocks-format-dot): Remove text properties of body before
calculating cache hash.

Otherwise one and the same ditta/graphviz image has a different hash
depending on the text properties of the body.
E.g. `org-export-region-as-html' with target buffer 'string passed the
body of the block without possible indentation property `wrap-prefix'
while `org-export-as-html' does.
lisp/org-exp-blocks.el