The old exporter would convert \\ at the end of a line to <br /> to force a line break. The manual still says that \\ will force a line break, but the new HTML exporter, while indeed breaking the line there, does not insert the <br /> to make it render as a new line. This is using the latest version from Git. I think this is a bug, not a limitation of the new exporter. Best regards, Terry -- T.F. Torrey
"T.F. Torrey" <tftorrey@tftorrey.com> writes:
> The old exporter would convert \\ at the end of a line to <br /> to
> force a line break. The manual still says that \\ will force a line
> break, but the new HTML exporter, while indeed breaking the line
> there, does not insert the <br /> to make it render as a new line.
>
> This is using the latest version from Git.
>
> I think this is a bug, not a limitation of the new exporter.
>
> Best regards,
> Terry
Hi Terry,
I just tried with emacs -Q (I'm on 24.3.1) and git Org mode, and the \\
is exported as "<br/>". Can you check with emacs -Q? If you look in
ox-html.el, you'll see that the function `org-html-line-break' should
produce a "<br/>\n".
Could something else be going wrong?
E
On Sun, Apr 21, 2013 at 4:02 AM, Eric Abrahamsen
<eric@ericabrahamsen.net> wrote:
> Hi Terry,
>
> I just tried with emacs -Q (I'm on 24.3.1) and git Org mode, and the \\
> is exported as "<br/>". Can you check with emacs -Q? If you look in
> ox-html.el, you'll see that the function `org-html-line-break' should
> produce a "<br/>\n".
>
> Could something else be going wrong?
Thanks for the verification. Indeed, it does work with emacs -Q, and
even with a simple restart of Emacs. Sorry for the noise. -- T.