# HG changeset patch # User Kim F. Storm # Date 1149062565 0 # Node ID c2a4cb0acf5e8562e9262b2a07726c2bdf84c621 # Parent 44a7192990fea587bd1a08b402048d6c4c36e334 2006-05-31 Takaaki Ota Convert all HTML tags to lower case for XHTML compatibility. diff -r 44a7192990fe -r c2a4cb0acf5e lisp/textmodes/table.el --- a/lisp/textmodes/table.el Wed May 31 07:21:10 2006 +0000 +++ b/lisp/textmodes/table.el Wed May 31 08:02:45 2006 +0000 @@ -6,7 +6,7 @@ ;; Keywords: wp, convenience ;; Author: Takaaki Ota ;; Created: Sat Jul 08 2000 13:28:45 (PST) -;; Revised: Sat Aug 06 2005 19:42:54 (CEST) +;; Revised: Tue May 30 2006 10:01:43 (PDT) ;; This file is part of GNU Emacs. @@ -3104,10 +3104,10 @@ (cond ((eq language 'html) (insert (format "\n" emacs-version) - (format "\n" table-html-table-attribute) + (format "
\n" table-html-table-attribute) (if (and (stringp caption) (not (string= caption ""))) - (format " \n" caption) + (format " \n" caption) ""))) ((eq language 'latex) (insert (format "%% This LaTeX table template is generated by emacs %s\n" emacs-version) @@ -3131,7 +3131,7 @@ (with-current-buffer dest-buffer (cond ((eq language 'html) - (insert "
%s%s
\n")) + (insert "\n")) ((eq language 'latex) (insert "\\end{tabular}\n")) ((eq language 'cals) @@ -3152,7 +3152,7 @@ (with-current-buffer dest-buffer (cond ((eq language 'html) - (insert " \n")) + (insert " \n")) ((eq language 'cals) (insert " \n")) )) @@ -3160,7 +3160,7 @@ (with-current-buffer dest-buffer (cond ((eq language 'html) - (insert " \n")) + (insert " \n")) ((eq language 'cals) (insert " \n") (unless (/= (table-get-source-info 'current-row) table-cals-thead-rows) @@ -3207,7 +3207,7 @@ 'cell-type (if (or (<= (table-get-source-info 'current-row) table-html-th-rows) (<= (table-get-source-info 'current-column) table-html-th-columns)) - "TH" "TD")))) + "th" "td")))) (if (and table-html-cell-attribute (not (string= table-html-cell-attribute ""))) (insert " " table-html-cell-attribute)) (if (> colspan 1) (insert (format " colspan=\"%d\"" colspan))) @@ -3266,7 +3266,7 @@ (goto-char (point-min)) (while (and (re-search-forward "$" nil t) (not (eobp))) - (insert "
") + (insert "
") (forward-char 1))) (unless (and table-html-delegate-spacing-to-user-agent (progn