diff options
| author | Kim F. Storm | 2006-05-31 08:02:45 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-05-31 08:02:45 +0000 |
| commit | e66ca63c21de456d9f5458a1f06897402ddac3f0 (patch) | |
| tree | bea81323076db187de4512798f606e377af4a3d8 | |
| parent | 206e215ecd2d836cf105007bbeb330c7b36980ec (diff) | |
| download | emacs-e66ca63c21de456d9f5458a1f06897402ddac3f0.tar.gz emacs-e66ca63c21de456d9f5458a1f06897402ddac3f0.zip | |
2006-05-31 Takaaki Ota <Takaaki.Ota@am.sony.com>
Convert all HTML tags to lower case for XHTML compatibility.
| -rw-r--r-- | lisp/textmodes/table.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 6c9463fe11e..dab08902769 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ;; Keywords: wp, convenience | 6 | ;; Keywords: wp, convenience |
| 7 | ;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com> | 7 | ;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com> |
| 8 | ;; Created: Sat Jul 08 2000 13:28:45 (PST) | 8 | ;; Created: Sat Jul 08 2000 13:28:45 (PST) |
| 9 | ;; Revised: Sat Aug 06 2005 19:42:54 (CEST) | 9 | ;; Revised: Tue May 30 2006 10:01:43 (PDT) |
| 10 | 10 | ||
| 11 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 12 | 12 | ||
| @@ -3104,10 +3104,10 @@ CALS (DocBook DTD): | |||
| 3104 | (cond | 3104 | (cond |
| 3105 | ((eq language 'html) | 3105 | ((eq language 'html) |
| 3106 | (insert (format "<!-- This HTML table template is generated by emacs %s -->\n" emacs-version) | 3106 | (insert (format "<!-- This HTML table template is generated by emacs %s -->\n" emacs-version) |
| 3107 | (format "<TABLE %s>\n" table-html-table-attribute) | 3107 | (format "<table %s>\n" table-html-table-attribute) |
| 3108 | (if (and (stringp caption) | 3108 | (if (and (stringp caption) |
| 3109 | (not (string= caption ""))) | 3109 | (not (string= caption ""))) |
| 3110 | (format " <CAPTION>%s</CAPTION>\n" caption) | 3110 | (format " <caption>%s</caption>\n" caption) |
| 3111 | ""))) | 3111 | ""))) |
| 3112 | ((eq language 'latex) | 3112 | ((eq language 'latex) |
| 3113 | (insert (format "%% This LaTeX table template is generated by emacs %s\n" emacs-version) | 3113 | (insert (format "%% This LaTeX table template is generated by emacs %s\n" emacs-version) |
| @@ -3131,7 +3131,7 @@ CALS (DocBook DTD): | |||
| 3131 | (with-current-buffer dest-buffer | 3131 | (with-current-buffer dest-buffer |
| 3132 | (cond | 3132 | (cond |
| 3133 | ((eq language 'html) | 3133 | ((eq language 'html) |
| 3134 | (insert "</TABLE>\n")) | 3134 | (insert "</table>\n")) |
| 3135 | ((eq language 'latex) | 3135 | ((eq language 'latex) |
| 3136 | (insert "\\end{tabular}\n")) | 3136 | (insert "\\end{tabular}\n")) |
| 3137 | ((eq language 'cals) | 3137 | ((eq language 'cals) |
| @@ -3152,7 +3152,7 @@ CALS (DocBook DTD): | |||
| 3152 | (with-current-buffer dest-buffer | 3152 | (with-current-buffer dest-buffer |
| 3153 | (cond | 3153 | (cond |
| 3154 | ((eq language 'html) | 3154 | ((eq language 'html) |
| 3155 | (insert " <TR>\n")) | 3155 | (insert " <tr>\n")) |
| 3156 | ((eq language 'cals) | 3156 | ((eq language 'cals) |
| 3157 | (insert " <row>\n")) | 3157 | (insert " <row>\n")) |
| 3158 | )) | 3158 | )) |
| @@ -3160,7 +3160,7 @@ CALS (DocBook DTD): | |||
| 3160 | (with-current-buffer dest-buffer | 3160 | (with-current-buffer dest-buffer |
| 3161 | (cond | 3161 | (cond |
| 3162 | ((eq language 'html) | 3162 | ((eq language 'html) |
| 3163 | (insert " </TR>\n")) | 3163 | (insert " </tr>\n")) |
| 3164 | ((eq language 'cals) | 3164 | ((eq language 'cals) |
| 3165 | (insert " </row>\n") | 3165 | (insert " </row>\n") |
| 3166 | (unless (/= (table-get-source-info 'current-row) table-cals-thead-rows) | 3166 | (unless (/= (table-get-source-info 'current-row) table-cals-thead-rows) |
| @@ -3207,7 +3207,7 @@ CALS (DocBook DTD): | |||
| 3207 | 'cell-type | 3207 | 'cell-type |
| 3208 | (if (or (<= (table-get-source-info 'current-row) table-html-th-rows) | 3208 | (if (or (<= (table-get-source-info 'current-row) table-html-th-rows) |
| 3209 | (<= (table-get-source-info 'current-column) table-html-th-columns)) | 3209 | (<= (table-get-source-info 'current-column) table-html-th-columns)) |
| 3210 | "TH" "TD")))) | 3210 | "th" "td")))) |
| 3211 | (if (and table-html-cell-attribute (not (string= table-html-cell-attribute ""))) | 3211 | (if (and table-html-cell-attribute (not (string= table-html-cell-attribute ""))) |
| 3212 | (insert " " table-html-cell-attribute)) | 3212 | (insert " " table-html-cell-attribute)) |
| 3213 | (if (> colspan 1) (insert (format " colspan=\"%d\"" colspan))) | 3213 | (if (> colspan 1) (insert (format " colspan=\"%d\"" colspan))) |
| @@ -3266,7 +3266,7 @@ CALS (DocBook DTD): | |||
| 3266 | (goto-char (point-min)) | 3266 | (goto-char (point-min)) |
| 3267 | (while (and (re-search-forward "$" nil t) | 3267 | (while (and (re-search-forward "$" nil t) |
| 3268 | (not (eobp))) | 3268 | (not (eobp))) |
| 3269 | (insert "<BR />") | 3269 | (insert "<br />") |
| 3270 | (forward-char 1))) | 3270 | (forward-char 1))) |
| 3271 | (unless (and table-html-delegate-spacing-to-user-agent | 3271 | (unless (and table-html-delegate-spacing-to-user-agent |
| 3272 | (progn | 3272 | (progn |