From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: adding "wrap=off" option to textarea for HTML export Date: Fri, 9 Sep 2016 17:06:35 +0100 Message-ID: <87fup912ic.fsf@delle7240.chemeng.ucl.ac.uk> References: <87y432mlxl.fsf@ucl.ac.uk> <0960a5432ed143b18552148fd5b67941@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQjk-0008GW-GP for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 14:41:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biQjg-0004pi-EP for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 14:41:16 -0400 Received: from mail-db5eur01on0139.outbound.protection.outlook.com ([104.47.2.139]:57027 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQjg-0004pX-5X for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 14:41:12 -0400 In-Reply-To: <0960a5432ed143b18552148fd5b67941@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Fri, 9 Sep 2016 15:32:46 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Cc: "emacs-orgmode@gnu.org" On Friday, 9 Sep 2016 at 15:32, Cl=C3=A9ment Pit--Claudel wrote: > On 2016-09-08 11:49, Eric S Fraga wrote: >> To turn wrapping off, I would need to add 'wrap=3D"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 --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa