http://trac.tiddlywiki.org/changeset/11300

MartinBudden
2009-12-07 07:03:16 -0800 (Mon, 07 Dec 2009)
52
Ticket #315

Problems with collapsed cells in tables

---------------

U   Trunk/core/js/Formatter.js

---------------

Modified: Trunk/core/js/Formatter.js
===================================================================
--- Trunk/core/js/Formatter.js  2009-12-07 13:42:41 UTC (rev 11299)
+++ Trunk/core/js/Formatter.js  2009-12-07 15:03:16 UTC (rev 11300)
@@ -66,6 +66,11 @@
                                        
last.element.setAttribute("rowspan",last.rowSpanCount);
                                        
last.element.setAttribute("rowSpan",last.rowSpanCount); // Needed for IE
                                        last.element.valign = "center";
+                                       if(colSpanCount > 1) {
+                                               
last.element.setAttribute("colspan",colSpanCount);
+                                               
last.element.setAttribute("colSpan",colSpanCount); // Needed for IE
+                                               colSpanCount = 1;
+                                       }
                                }
                                w.nextMatch = this.cellRegExp.lastIndex-1;
                        } else if(cellMatch[1] == ">") {

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to tiddlywiki...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywikidev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.


Reply via email to