Eric Abrahamsen <e...@ericabrahamsen.net> writes:

> Kelvin Hu <ini.kel...@gmail.com> writes:
>
>> Hi all,
>>
>> First of all, I am really appreciate your good work - org mode.
>>
>> Currently I meet something wrong when I am trying to export an org
>> buffer into html, as org manual
>> described(http://orgmode.org/org.html#Quoting-HTML-tags), html tags
>> quoted with "@" should be exported as tags, but not transformed to 
>> "&lt;" and "&gt;". Now assume we have following contents:
>>
>> - @<a href="somewhere">some text@</a>
>
> The syntax for this has changed, now any backend-specific blocks can be
> exported with @@backend:foo@@. So yours should be:
>
> @@html:<a href="somewhere">some text</a>@@
>
> The manual's wrong, I think: if you look at the ascii or latex export
> sections they mention this syntax, but it looks like html got left
> behind.
>
> Yours,
> Eric

A documentation patch to that effect...

E

>From 14d5a493375197bcdcbd0b292e1d9990f12cb83a Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <e...@ericabrahamsen.net>
Date: Sat, 18 May 2013 10:20:33 +0800
Subject: [PATCH] org.texi: Correct syntax for exporting HTML fragments

---
 doc/org.texi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 1c8b835..6f0afed 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -11133,11 +11133,11 @@ to @code{nil} will not insert any postamble.
 @subsection Quoting HTML tags
 
 Plain @samp{<} and @samp{>} are always transformed to @samp{&lt;} and
-@samp{&gt;} in HTML export.  If you want to include simple HTML tags
-which should be interpreted as such, mark them with @samp{@@} as in
-@samp{@@<b>bold text@@</b>}.  Note that this really works only for
-simple tags.  For more extensive HTML that should be copied verbatim to
-the exported file use either
+@samp{&gt;} in HTML export.  If you want to include simple HTML tags which
+should be interpreted as such, mark them with @samp{@@@@html:} as in
+@samp{@@@@html:<b>bold text</b>@@@@}.  Note that this really works only for
+simple tags.  For more extensive HTML that should be copied verbatim to the
+exported file use either
 
 @cindex #+HTML
 @cindex #+BEGIN_HTML
-- 
1.8.2.3

Reply via email to