[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Bug] HTML Exporter Does Not Convert \\ To <br />
From: |
Eric Abrahamsen |
Subject: |
Re: [O] [Bug] HTML Exporter Does Not Convert \\ To <br /> |
Date: |
Sun, 21 Apr 2013 19:02:31 +0800 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) |
"T.F. Torrey" <address@hidden> 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