Export: Remove extra space before colon examples.
This commit is contained in:
parent
3fed83614e
commit
2ad63638b5
|
@ -1,5 +1,8 @@
|
|||
2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-exp.el (org-export-as-html): Remove the initial space from
|
||||
colon examples.
|
||||
|
||||
* org.el (org-scan-tags): Call
|
||||
`org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
|
||||
|
||||
|
|
|
@ -3485,12 +3485,12 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
|
||||
;; Fixed-width, verbatim lines (examples)
|
||||
(when (and org-export-with-fixed-width
|
||||
(string-match "^[ \t]*:\\(\\([ \t]\\|$\\).*\\)" line))
|
||||
(string-match "^[ \t]*:\\(\\([ \t]\\|$\\)\\(.*\\)\\)" line))
|
||||
(when (not infixed)
|
||||
(setq infixed t)
|
||||
(org-close-par-maybe)
|
||||
(insert "<pre class=\"example\">\n"))
|
||||
(insert (org-html-protect (match-string 1 line)) "\n")
|
||||
(insert (org-html-protect (match-string 3 line)) "\n")
|
||||
(when (or (not lines)
|
||||
(not (string-match "^[ \t]*\\(:.*\\)"
|
||||
(car lines))))
|
||||
|
|
Loading…
Reference in New Issue