Help generation: remove internal links from web doc 51/11251/1
Calixte DENIZET [Tue, 9 Apr 2013 16:01:54 +0000 (18:01 +0200)]
Change-Id: I3d1826d9c050f03f3c455e900eec138bb83b1cc1

scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java

index 1cf1c2b..f2c60ee 100644 (file)
@@ -1020,7 +1020,11 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp
         String type = attributes.get("type");
         String id;
         if (type != null && type.equals("scilab")) {
-            id = resolvScilabLink(link);
+            if (this.type == GenerationType.JAVAHELP) {
+                id = resolvScilabLink(link);
+            } else {
+                return contents;
+            }
         } else if (type != null && type.equals("remote")) {
             id = makeRemoteLink(link);
         } else {