From 2f90083877519dd2be4cf1142d7a6ce65937ffc1 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 16 Jul 2001 21:27:43 +0000 Subject: [PATCH] Added phrase.propagates.style and emphasis.propagates.style: if true, wrap a span around phrase and emphasis elements with the role attribute propagated to the class attribute --- xsl/html/inline.xsl | 58 ++++++++++++++++++++++++++++++++++++++------- xsl/html/param.xsl | 24 +++++++++++++++++++ 2 files changed, 73 insertions(+), 9 deletions(-) diff --git a/xsl/html/inline.xsl b/xsl/html/inline.xsl index 82e147e71..5d15b01a2 100644 --- a/xsl/html/inline.xsl +++ b/xsl/html/inline.xsl @@ -392,14 +392,44 @@ - - - - - - - - + + + + + + + + + + emphasis + + + + + + + + + + + + + + + + + + + + + + + + + @@ -411,7 +441,17 @@ - + + + + + + + + + + + diff --git a/xsl/html/param.xsl b/xsl/html/param.xsl index 9346d6e2c..12627c3ef 100644 --- a/xsl/html/param.xsl +++ b/xsl/html/param.xsl @@ -1164,4 +1164,28 @@ TOC entries will be displayed. + + + + +Pass emphasis role attribute through to HTML? + +If true, the role attribute of emphasis elements +will be passed through to the HTML as a class attribute on a +span that surrounds the emphasis. + + + + + + + +Pass phrase role attribute through to HTML? + +If true, the role attribute of phrase elements +will be passed through to the HTML as a class attribute on a +span that surrounds the phrase. + + + -- 2.40.0