aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/extensions/tables.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/markdown/extensions/tables.py b/markdown/extensions/tables.py
index 39c09a4..a19018e 100644
--- a/markdown/extensions/tables.py
+++ b/markdown/extensions/tables.py
@@ -73,11 +73,7 @@ class TableProcessor(BlockProcessor):
for i, a in enumerate(align):
c = etree.SubElement(tr, tag)
try:
- if isinstance(cells[i], str) or isinstance(cells[i], unicode):
- c.text = cells[i].strip()
- else:
- # we've already inserted a code element
- c.append(cells[i])
+ c.text = cells[i].strip()
except IndexError: # pragma: no cover
c.text = ""
if a: