15:15:01 <travis-ci> Wheelhouse build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/wheelhouse/builds/90959467. 15:31:24 <Koni> Hi it looks like when compiling tables in Restructured text, Generated htmll is "<table class="docutils" border="1">" 15:31:37 <Koni> is there a way to get rid of border="1" part ? 15:42:03 <Koni> I found also that Restructured text is not generating compliant HTML code for tables 15:47:22 <ChrisWarrick> Koni: complain to docutils 15:47:32 <Koni> :) 15:54:41 <Koni> ChrisWarrick: I found that there is one patch available, but not applied at this time 15:54:43 <Koni> From d4f312b903f5c2f307ece3b52f7a17da0e3ecea2 Mon Sep 17 00:00:00 2001 15:54:43 <Koni> From: Brecht Machiels <[email protected]> 15:54:43 <Koni> Date: Sat, 14 Feb 2015 03:05:39 +0100 15:54:43 <Koni> Subject: [PATCH 3/6] HTML writer: respect automatic table column sizing 15:54:45 <Koni> --- 15:54:48 <Koni> docutils/docutils/writers/html4css1/__init__.py | 12 ++++++------ 15:54:50 <Koni> 1 file changed, 6 insertions(+), 6 deletions(-) 15:54:52 <Koni> diff --git a/docutils/docutils/writers/html4css1/__init__.py b/docutils/docutils/writers/html4css1/__init__.py 15:54:54 <Koni> index aafc132..ccc9f73 100644 15:54:56 <Koni> --- a/docutils/docutils/writers/html4css1/__init__.py 15:54:59 <Koni> +++ b/docutils/docutils/writers/html4css1/__init__.py 15:55:01 <Koni> @@ -635,13 +635,13 @@ class HTMLTranslator(nodes.NodeVisitor): 15:55:03 <Koni> pass 15:55:05 <Koni> 15:55:08 <Koni> def write_colspecs(self): 15:55:10 <Koni> - width = 0 15:55:12 <Koni> + total_width = sum(node['colwidth'] for node in self.colspecs) 15:55:14 <Koni> for node in self.colspecs: 15:55:16 <Koni> - width += node['colwidth'] 15:55:19 <Koni> - for node in self.colspecs: 15:55:21 <Koni> - colwidth = int(node['colwidth'] * 100.0 / width + 0.5) 15:55:23 <Koni> - self.body.append(self.emptytag(node, 'col', 15:55:25 <Koni> - width='%i%%' % colwidth)) 15:55:27 <Koni> + attrs = {} 15:55:29 <Koni> + if node.parent.get('colwidths') == 'given': 15:55:32 <Koni> + colwidth = int(node['colwidth'] * 100.0 / total_width + 0.5) 15:55:34 <Koni> + attrs['width'] = '%i%%' % colwidth 15:55:36 <Koni> + self.body.append(self.emptytag(node, 'col', **attrs)) 15:55:38 <Koni> self.colspecs = [] 15:55:41 <Koni> 15:55:43 <Koni> def visit_comment(self, node, 15:55:45 <Koni> -- 15:55:47 <Koni> 2.3.0 15:55:54 <Koni> sorry... 15:55:56 <Koni> http://sourceforge.net/p/docutils/patches/125/ 15:56:56 <ChrisWarrick> Koni: either way, you can always apply it over your own copy