mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-01 11:15:00 +00:00
HTML export: Fix textareas
Textareas no longer have an empty line at the beginning, and the overflow-x stype property has been moved to the CSS section. Patch by Ulf Stegemann
This commit is contained in:
parent
ada3986f9d
commit
e7f7a82a74
@ -1,3 +1,11 @@
|
||||
2010-02-25 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-html.el (org-export-html-style-default): Add a default style
|
||||
for textareas.
|
||||
|
||||
* org-exp.el (org-export-format-source-code-or-example): Fix
|
||||
textarea tag.
|
||||
|
||||
2010-02-24 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-remember.el (org-remember-apply-template): Extend comment.
|
||||
|
@ -2475,7 +2475,7 @@ INDENT was the original indentation of the block."
|
||||
(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
|
||||
|
@ -137,6 +137,7 @@ not be modified."
|
||||
dt { font-weight: bold; }
|
||||
div.figure { padding: 0.5em; }
|
||||
div.figure p { text-align: center; }
|
||||
textarea { overflow-x: scroll; }
|
||||
.linenr { font-size:smaller }
|
||||
.code-highlighted {background-color:#ffff00;}
|
||||
.org-info-js_info-navigation { border-style:none; }
|
||||
|
Loading…
Reference in New Issue
Block a user