From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [Bug] Verbatim code gets interpreted Date: Tue, 08 Mar 2011 17:02:08 +0100 Message-ID: <80mxl561of.fsf@somewhere.org> References: <80lj0rpd5r.fsf@somewhere.org> <87pqq3yml2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien, > S=C3=A9bastien Vauban writes: > >> #+begin_html >>
>> >> #+end_html >> >> But the [0] gets interpreted as a footnote... which is not found, hence = an >> error on the page, and the JS code is not usable. >> >> [...] >> >> But I wanted to report this finding. > > Thanks for reporting this. I think we could rewrite the export preprocess > function to allow export parameters to be added: > > ,---- > | #+begin_html ^:nil=20 > | ... > | #+end_html > `---- > > In such a block, the ^:nil option would take precedence over the possibly > ^:t option in the buffer. I'll have a look into this for the next release. Such a behavior is OK for me (as who can do more can do less), but I wonder why we simply don't treat the block between `#+begin/end_html' as verbatim, without touching it at all? Couldn't one do the same as what happens for the lines prefixed by `#+HTML'? Best regards, Seb --=20 S=C3=A9bastien Vauban