summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--its/docbook.its3
-rw-r--r--its/docbook5.its3
2 files changed, 6 insertions, 0 deletions
diff --git a/its/docbook.its b/its/docbook.its
index 94ccd17..ed223d3 100644
--- a/its/docbook.its
+++ b/its/docbook.its
@@ -194,6 +194,9 @@
<its:withinTextRule withinText="yes" selector="//address[count(*) = 1 and email]"/>
<its:preserveSpaceRule space="preserve" selector="//address[not(count(*) = 1 and email)]"/>
+ <!-- Above all else, info is not a text run -->
+ <its:withinTextRule withinText="no" selector="//bookinfo/* | //chapterinfo/* | //articleinfo/*"/>
+
<!-- These are always verbatim -->
<its:preserveSpaceRule space="preserve" selector="//classsynopsisinfo"/>
<its:preserveSpaceRule space="preserve" selector="//funcsynopsisinfo"/>
diff --git a/its/docbook5.its b/its/docbook5.its
index a62a45f..a2f0b1d 100644
--- a/its/docbook5.its
+++ b/its/docbook5.its
@@ -180,6 +180,9 @@
<its:withinTextRule withinText="yes" selector="//db:indexterm//*"/>
<its:withinTextRule withinText="yes" selector="//db:simplelist[@type = 'inline']/descendant-or-self::*"/>
+ <!-- Above all else, info is not a text run -->
+ <its:withinTextRule withinText="no" selector="//db:info/*"/>
+
<!-- These are always verbatim -->
<its:preserveSpaceRule space="preserve" selector="//db:address"/>
<its:preserveSpaceRule space="preserve" selector="//db:classsynopsisinfo"/>