emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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:12:38 +0800	[thread overview]
Message-ID: <874ne1nii1.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAO61DjzGYhCfdwi7w41oSrRbp2FhqKvE9LJ3OxdQLJ8rukTykg@mail.gmail.com

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 
> "&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

> then I do exporting with following code(executed in that org buffer):
>
> (org-export-as 'html nil nil t nil)
>
> the output is:
>
> <ul class="org-ul">
> <li>@&lt;a href="somewhere"&gt;some text@&lt;/a&gt;
> </li>
> </ul>
>
> As you see, the quoted tag "<a>" is exported as transformed but not
> original html tag.
>
> Hope my description is not ambiguous, and it can do a little help for
> you to fix this issue.
>
> Thanks & Regards,
> Kelvin
>
> Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
> of 2013-03-18 on MARVIN
> Package: Org-mode version 8.0.2 (8.0.2-10-g3e1d83-elpa @
> d:/SDTs/Emacs/lisp/org/)

  reply	other threads:[~2013-05-18  2:13 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 [this message]
2013-05-18  2:22   ` Eric Abrahamsen
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=874ne1nii1.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).