From 01b1851f2d2296efd9ab25ec291f533e585962c1 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 4 Jan 2010 10:23:15 +0100 Subject: [PATCH] Fix bug with display properties in resulting .html buffer --- lisp/ChangeLog | 3 +++ lisp/org-html.el | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b89c5236..7e5db3d32 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-01-04 Carsten Dominik + * org-html.el (org-export-as-html): Remove any left-over display + properties in the html file. + * org-wl.el (org-wl-store-link): Work-around for format bug with text properties. diff --git a/lisp/org-html.el b/lisp/org-html.el index ad2e9fe77..58ca4661e 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1474,6 +1474,8 @@ lang=\"%s\" xml:lang=\"%s\"> ;; Remove empty lines at the beginning of the file. (goto-char (point-min)) (when (looking-at "\\s-+\n") (replace-match "")) + ;; Remove display properties + (remove-text-properties (point-min) (point-max) '(display t)) ;; Run the hook (run-hooks 'org-export-html-final-hook) (or to-buffer (save-buffer)) -- 2.11.4.GIT