diff --git a/xml/xslt/inline.xslt b/xml/xslt/inline.xslt
index 6125497..b2365c9 100644
--- a/xml/xslt/inline.xslt
+++ b/xml/xslt/inline.xslt
@@ -21,10 +21,20 @@
DOCUMENT
+ test="(starts-with(@href, '#') and //*[@id = $destination][ancestor-or-self::*[@visibility = 'hidden']])">
WARNING: LINK TARGET IS
HIDDEN
+
+
+
+
+
+
+
+
+
@@ -39,34 +49,53 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
(page
-
- )
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -196,8 +225,8 @@
[
-
-
+
+
]
@@ -330,7 +359,9 @@
.
-
+
+
+