New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove rst table border #220

Merged
merged 1 commit into from Sep 30, 2013
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+8 −0
Diff settings

Always

Just for now

Copy path View file
@@ -40,6 +40,14 @@ class GitHubHTMLTranslator(HTMLTranslator):
else:
self.body.append(self.starttag(node, 'pre'))

def visit_table(self, node):
classes = ' '.join(['docutils', self.settings.table_style]).strip()
self.body.append(
self.starttag(node, 'table', CLASS=classes))

def depart_table(self, node):
self.body.append('</table>\n')

def main():
"""
Parses the given ReST file or the redirected string input and returns the
ProTip! Use n and p to navigate between commits in a pull request.