all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG: HTML export of Tags containing underscore
@ 2007-10-18 22:34 Eric J Haywiser
  2007-10-19  9:16 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Eric J Haywiser @ 2007-10-18 22:34 UTC (permalink / raw)
  To: emacs-orgmode

I believe that tags containing the underscore character
are not correctly exported to HTML in v 5.12c.  For example
consider an org file containing:

* Test
** Test :NEW_TEST:

I would expect the HTML source to read:

<h3>1.1 Test &nbsp;&nbsp;&nbsp;<span class="tag">NEW_TEST</span></h3>

but instead I get

<h3>1.1 Test :NEW<sub>TEST</sub>:</h3>

I understand that _ is a valid tag character from:

6 Tags
******

headline.  Tags are normal words containing letters, numbers, `_', and
`@'.  Tags must be preceded and followed by a single colon; like
`:WORK:'.  Several tags can be specified like `:WORK:URGENT:'.

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: HTML export of Tags containing underscore
  2007-10-18 22:34 BUG: HTML export of Tags containing underscore Eric J Haywiser
@ 2007-10-19  9:16 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2007-10-19  9:16 UTC (permalink / raw)
  To: emacs-orgmode

Eric J Haywiser <ejh1@MIT.EDU> writes:

> I would expect the HTML source to read:
>
> <h3>1.1 Test &nbsp;&nbsp;&nbsp;<span class="tag">NEW_TEST</span></h3>
>
> but instead I get
>
> <h3>1.1 Test :NEW<sub>TEST</sub>:</h3>

If you don't need the <sub> or <sup> HTML formatting in your document, a
quick workaround is to set the ^ option to nil:

#+OPTIONS: ^:nil

> I understand that _ is a valid tag character from:

Yes it *is* a valid character.  Maybe the tag export should be fixed.

-- 
Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-19  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 22:34 BUG: HTML export of Tags containing underscore Eric J Haywiser
2007-10-19  9:16 ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.