diff --git a/src/bundle/Resources/richtext/stylesheets/xhtml5/edit/docbook.xsl b/src/bundle/Resources/richtext/stylesheets/xhtml5/edit/docbook.xsl
index 560082e0..1ffbbb5b 100644
--- a/src/bundle/Resources/richtext/stylesheets/xhtml5/edit/docbook.xsl
+++ b/src/bundle/Resources/richtext/stylesheets/xhtml5/edit/docbook.xsl
@@ -40,6 +40,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -425,6 +440,13 @@
+
+
+
+
+
+
+
diff --git a/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.docbook.xml b/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.docbook.xml
new file mode 100644
index 00000000..ecfd0d83
--- /dev/null
+++ b/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.docbook.xml
@@ -0,0 +1,32 @@
+
+
+
+
+ true
+ attr2,attr1
+ sdf V8
+
+
+ true
+ attr2,attr1
+
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
+
diff --git a/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.xhtml5.edit.xml b/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.xhtml5.edit.xml
new file mode 100644
index 00000000..512c1cb5
--- /dev/null
+++ b/tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/lossy/009-tableWithCustomClassesAndAttributes.xhtml5.edit.xml
@@ -0,0 +1,26 @@
+
+
+ sdf V8
+
+
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
+
+
diff --git a/tests/lib/RichText/Validator/DocbookTest.php b/tests/lib/RichText/Validator/DocbookTest.php
index ae175623..0a86cc1c 100644
--- a/tests/lib/RichText/Validator/DocbookTest.php
+++ b/tests/lib/RichText/Validator/DocbookTest.php
@@ -111,6 +111,41 @@ public function providerForTestValidate()
strikedthrough
+',
+ [],
+ ],
+ [
+ '
+
+
+
+ true
+ attr2,attr1
+ sdf V8
+
+
+ true
+ attr2,attr1
+
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
',
[],
],