emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] adding "wrap=off" option to textarea for HTML export


From: Eric S Fraga
Subject: Re: [O] adding "wrap=off" option to textarea for HTML export
Date: Fri, 9 Sep 2016 17:06:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux)

On Friday,  9 Sep 2016 at 15:32, Clément Pit--Claudel wrote:
> On 2016-09-08 11:49, Eric S Fraga wrote:
>> To turn wrapping off, I would need to add 'wrap="off"' to the textarea
>> form as this option cannot be controlled using CSS unfortunately.  I
>> don't see any way to do this from org.
>
> Hm. Doesn't the following work?
>
> textarea {
>   white-space: pre;
> }

Ah, it does!  That'll teach me to believe what I read on the
Interweb... which told me that CSS could not achieve this.  I've just
tested it and it works just fine, at least on Firefox.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa



reply via email to

[Prev in Thread] Current Thread [Next in Thread]