From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)]
Date: Sat, 18 May 2013 10:22:11 +0800 [thread overview]
Message-ID: <87zjvtm3ho.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 874ne1nii1.fsf@ericabrahamsen.net
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Kelvin Hu <ini.kelvin@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
>> "<" and ">". 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org.texi-Correct-syntax-for-exporting-HTML-fragments.patch --]
[-- Type: text/x-patch, Size: 1286 bytes --]
From 14d5a493375197bcdcbd0b292e1d9990f12cb83a Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <eric@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{<} and
-@samp{>} 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{>} 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
next prev parent reply other threads:[~2013-05-18 2:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-17 14:49 Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)] Kelvin Hu
2013-05-18 2:12 ` Eric Abrahamsen
2013-05-18 2:22 ` Eric Abrahamsen [this message]
2013-05-18 17:56 ` Nicolas Goaziou
2013-05-20 7:04 ` Kelvin Hu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjvtm3ho.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).