diff --git a/modules/basic-text-formatting.xml b/modules/basic-text-formatting.xml
index 6b96f34..062850f 100644
--- a/modules/basic-text-formatting.xml
+++ b/modules/basic-text-formatting.xml
@@ -156,9 +156,9 @@
 			<xsl:text>}</xsl:text>
 		</common>
 		<common formats="/html/xhtml/">
-			<div style="color: {@name};">
+			<span style="color: {@name};">
 				<xsl:apply-templates />
-			</div>
+			</span>
 		</common>
 	</template>