From: Carsten Dominik <carsten.dominik@gmail.com>
To: Ulf Stegemann <ulf-news@zeitform.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: textareas in HTML export
Date: Thu, 25 Feb 2010 12:28:43 +0100 [thread overview]
Message-ID: <8EE5FDAD-0D11-42F2-B5D7-C1CF6CF3E5B5@gmail.com> (raw)
In-Reply-To: <zf.upnvddoz00d.fsf@zeitform.de>
Applied, thanks.
But I did move the overflow:x property into the css section (default
style), because I think it is important *functionality* that should be
there out off the box.
Thanks, Ulf!
- Carsten
On Feb 23, 2010, at 12:04 PM, Ulf Stegemann wrote:
> Hi,
>
> I think that exporting an example to HTML as textarea does not
> result in
> correct HTML code.
>
> I don't know if
>
> ,----
> | <textarea cols="80" rows="2" overflow-x:scroll >
> `----
>
> has an effect in any user-agent but as this seems to be a css
> directive
> this should probably read
>
> ,----
> | <textarea cols="80" rows="2" style="overflow-x:scroll;" >
> `----
>
> However, I would leave out the overflow stuff completely as
> stylesheets
> can be easily controlled by the user him/herself. Furthermore, I
> would
> suggest to leave out the newline after the textarea tag which always
> produces an empty line at the beginning of the example. The following
> does that:
>
> --- org-exp.el.orig 2010-02-23 11:11:37.377506001 +0100
> +++ org-exp.el 2010-02-23 11:52:45.326505387 +0100
> @@ -2475,7 +2475,7 @@
> (if caption "</div>" "")))))
> (if textareap
> (setq rtn (concat
> - (format "<p>\n<textarea cols=\"%d\" rows=\"%d\" overflow-
> x:scroll >\n"
> + (format "<p>\n<textarea cols=\"%d\" rows=\"%d\">"
> cols rows)
> rtn "</textarea>\n</p>\n"))
> (with-temp-buffer
>
> Ulf
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2010-02-25 11:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 11:04 textareas in HTML export Ulf Stegemann
2010-02-25 11:28 ` Carsten Dominik [this message]
2010-02-25 13:23 ` Ulf Stegemann
2010-02-25 14:40 ` Carsten Dominik
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=8EE5FDAD-0D11-42F2-B5D7-C1CF6CF3E5B5@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ulf-news@zeitform.de \
/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.