]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaMathView.ml
added support for multiple idrefs
[helm.git] / helm / matita / matitaMathView.ml
index 4297634c809e423c8856efb4c24d7ff7384973ad..be144b9492f9ef9cd5d36cf49948799da445aaf3 100644 (file)
@@ -281,7 +281,7 @@ object (self)
       let xref_attr =
         node#getAttributeNS ~namespaceURI:DomMisc.helm_ns ~localName:xref_ds
       in
-      xref_attr#to_string
+      List.hd (HExtlib.split ~sep:' ' xref_attr#to_string)
     in
     let id = get_id node in
     let script = MatitaScript.instance () in