diff --git a/test/more/tests/syntax-highlight/language-attribute.gold b/test/more/tests/syntax-highlight/language-attribute.gold
new file mode 100644
index 0000000..9722d10
--- /dev/null
+++ b/test/more/tests/syntax-highlight/language-attribute.gold
@@ -0,0 +1,13 @@
+
+
+ Test language attribute
+ plain text
+ void main() {}
+ actions something ;
+
+
+ plain text
+ void main() {}
+ actions something ;
+
+
\ No newline at end of file
diff --git a/test/more/tests/syntax-highlight/language-attribute.xml b/test/more/tests/syntax-highlight/language-attribute.xml
new file mode 100644
index 0000000..e5891b4
--- /dev/null
+++ b/test/more/tests/syntax-highlight/language-attribute.xml
@@ -0,0 +1,25 @@
+
+
+
+
+ Test language attribute
+ plain text
+ void main() {}
+ actions something ;
+
+
+ plain text
+ void main() {}
+ actions something ;
+
+
+
diff --git a/xsl/annotation.xsl b/xsl/annotation.xsl
index 93acd7c..1d9b79e 100644
--- a/xsl/annotation.xsl
+++ b/xsl/annotation.xsl
@@ -400,6 +400,14 @@
+
+
+
+
+
+
+
+
diff --git a/xsl/docbook.xsl b/xsl/docbook.xsl
index d7a1db7..12bef90 100644
--- a/xsl/docbook.xsl
+++ b/xsl/docbook.xsl
@@ -398,6 +398,10 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '
+
+
+
+
@@ -454,6 +458,10 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '
+
+
+
+