[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [PATCH] Markup on same line as text
From: |
Hrvoje Niksic |
Subject: |
[Orgmode] Re: [PATCH] Markup on same line as text |
Date: |
Wed, 16 Feb 2011 21:04:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Sorry for taking a very long time to respond.
Roland Kaufmann <address@hidden> writes:
> (let ((x 42)) <span style="comment">; meaning of l.u.e.
> <span id="ref-2"></span> (print x))</span>
> ^^^^^^^
> The first closing tag is really the end of the comment which is
> spilled to the next line, but it erraneously closes the id span.
If so, that would be a bug in htmlize. While Emacs supports arbitrarily
overlapping properties/overlays/extents, HTML doesn't, and htmlize is
normally careful to describe each unchanged run of text on its own.
I am not familiar with org-mode, so I will need a description of exactly
how to reproduce this bug. Specifically I don't know how to put a
reference on the next line.
Your patch may work in this particular case, but the idea behind htmlize
is to describe the state of the buffer. If a property ends after the
newline, it is intended that the generated HTML reflect this.
Hrvoje
- [Orgmode] Re: [PATCH] Markup on same line as text,
Hrvoje Niksic <=