Hi David and Nicolas,
I didn't follow this thread closely, so forgive me if this is another bug then the one you tried to fix. David Maus <dm...@ictsoc.de> writes: > Nicolas Goaziou wrote: >>Hello, > >>This patch corrects the following problem : > >>----------------------------------------- >>#+caption: I'm not removed from export >>#+label: also-not-removed >>| A | B | >>| 1 | 2 | >>----------------------------------------- > >>Since org-handle-comments is only removing comments, #+caption, #+label >>and friends were left in the export file. Some still are. I applied the patch, but my "#+ATTR_HTML:" lines are not removed from ASCII export if they occur on a line with leading spaces. This might be true for other backends, too. Try to export this as ASCII: => --->8-------------------------->8-------------------------->8--- * Example #+ATTR_HTML: I am removed from ASCII export | THead 1 | THead 2 | #+ATTR_HTML: I am _NOT_ removed from ASCII export | THead 1 | THead 2 | #+CAPTION: removed #+ATTR_HTML: NOT removed | THead 1 | THead 2 | #+CAPTION: removed #+ATTR_HTML: removed | THead 1 | THead 2 | <= ---8<--------------------------8<--------------------------8<--- Leading space make the difference. Somtimes. Here is the result: => --->8----------------------------->8----------------------------->8--- 1 Example ~~~~~~~~~~ THead 1 THead 2 #+ATTR_HTML: I am NOT removed from ASCII export THead 1 THead 2 #+ATTR_HTML: NOT removed THead 1 THead 2 THead 1 THead 2 <= ---8<-----------------------------8<-----------------------------8<--- Sebastian _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode