From: Bernt Hansen <bernt@norang.ca>
To: David Maus <maus.david@gmail.com>
Cc: bzg@altern.org, emacs-orgmode@gnu.org
Subject: Re: Another HTML Export Problem
Date: Sun, 20 Mar 2011 21:46:19 -0400 [thread overview]
Message-ID: <87y649gs9g.fsf@norang.ca> (raw)
In-Reply-To: 87r5a2596g.wl%dmaus@ictsoc.de
David Maus <maus.david@gmail.com> writes:
> At Thu, 17 Mar 2011 14:34:52 +0000,
> Eric S Fraga wrote:
>>
>> I don't know if this is the same problem but exporting, to HTML, the
>
> Yes, this was a symptom of the broken HTML export. Should be fixed now.
Hi David,
I think there is yet another HTML export issue with the current
development code.
--8<---------------cut here---------------start------------->8---
* Test
[2011-03-20 Sun]
[2011-03-20 Sun]
org.el
--8<---------------cut here---------------end--------------->8---
exported here: http://www.norang.ca/tmp/org-scratch.html
exports to HTML as
--8<---------------cut here---------------start------------->8---
...
<body>
<div id="content">
<h1 class="title">org-scratch</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1 Test </a></li>
</ul>
</div>
</div>
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Test </h2>
<div class="outline-text-2" id="text-1">
<p> <span class="timestamp-wrapper"> <span class="timestamp">2011-03-20 Sun</span></span><br/>
<span class="timestamp-wrapper"> <span class="timestamp">2011-03-20 Sun</span></span><br/>
org.el
</p></div>
</div>
<div id="postamble">
<p class="date">Date: 2011-03-20 21:31:20 EDT</p>
<p class="author">Author: Bernt Hansen</p>
<p class="creator">Org version 7.5 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
</div>
</div>
</body>
</html>
--8<---------------cut here---------------end--------------->8---
For the timestamps
,----
| <div class="outline-text-2" id="text-1">
|
| <p> <span class="timestamp-wrapper"> <span class="timestamp">2011-03-20 Sun</span></span><br/>
| <span class="timestamp-wrapper"> <span class="timestamp">2011-03-20 Sun</span></span><br/>
| org.el
| </p></div>
`----
The timestamps have the < and > brackets of <br/> converted to < and
> which is incorrect.
I ran bisect and identified the following commit
6a369c26d3f936bc71cba9d7148dcecf1b2c9677 is the first bad commit
commit 6a369c26d3f936bc71cba9d7148dcecf1b2c9677
Author: David Maus <dmaus@ictsoc.de>
Date: Sun Mar 13 20:27:12 2011 +0100
Expand char entities after creating markup for links and timestamps
* org-html.el (org-html-make-link, org-html-handle-links): Protect
generated XHTML elements.
(org-export-as-html): Expand character entities after creating markup
for links and timestamps.
This fixes a problem with exporting active timestamps, reported by
Daniel Clemente <n142857@gmail.com>.
:040000 040000 1508340e77dca86766af48df2eadf747070f89ce ca668c398391b307e49113fb592fb68195640896 M lisp
Regards,
--
Bernt
next prev parent reply other threads:[~2011-03-21 1:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 11:51 Another HTML Export Problem David Maus
2011-03-17 14:34 ` Eric S Fraga
2011-03-20 11:21 ` David Maus
2011-03-20 19:44 ` Eric S Fraga
2011-03-21 1:46 ` Bernt Hansen [this message]
2011-03-21 5:46 ` David Maus
2011-03-21 12:49 ` Bernt Hansen
-- strict thread matches above, loose matches on Subject: below --
2011-03-16 0:39 Scott Randby
2011-03-16 1:31 ` Bastien
2011-03-17 8:07 ` Bastien
2011-03-17 14:45 ` Scott Randby
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y649gs9g.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=maus.david@gmail.com \
/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 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.