[geany/geany-plugins] 8010cb: Tableconvert: Inside HTML-table header it's th instead of td

Frank Lanitz git-noreply at xxxxx
Fri Nov 14 13:53:53 UTC 2014


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Fri, 14 Nov 2014 13:53:53 UTC
Commit:      8010cb53c98dd08a58a1c0195226e812e29f18e2
             https://github.com/geany/geany-plugins/commit/8010cb53c98dd08a58a1c0195226e812e29f18e2

Log Message:
-----------
Tableconvert: Inside HTML-table header it's th instead of td

Correct a wrong usage of tags on HTML tables, On thead td becomes to th.


Modified Paths:
--------------
    tableconvert/src/tableconvert.c

Modified: tableconvert/src/tableconvert.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -60,9 +60,9 @@ TableConvertRule tablerules[] = {
 		"<table>\n",        /* start        	  */
 		"<thead>\n",        /* header_start       */
 		"</thead>\n",       /* header_stop        */
-		"</td>\n\t<td>",      /* header_columnsplit */
-		"<tr>\n\t<td>",		/* header_linestart   */
-		"</td>\n</tr>\n",	/* header_lineend	  */
+		"</th>\n\t<th>",      /* header_columnsplit */
+		"<tr>\n\t<th>",		/* header_linestart   */
+		"</th>\n</tr>\n",	/* header_lineend	  */
 		"<tbody>\n",        /* body_start         */
 		"\n</tbody>",       /* body_end           */
 		"</td>\n\t<td>",    /* columnsplit        */



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list