author | Luc Moreau <l.moreau@ecs.soton.ac.uk> |
Fri, 11 May 2012 14:08:39 +0100 | |
changeset 2774 | 4eaa7b8e7139 |
parent 2773 | e33d5f5e5f1f |
child 2775 | f6fe7835ab1a |
model/prov-n.html |
--- a/model/prov-n.html Fri May 11 14:03:55 2012 +0100 +++ b/model/prov-n.html Fri May 11 14:08:39 2012 +0100 @@ -20,7 +20,7 @@ function insertProductionDefinition(doc, content, name) { var xml=$.parseXML(content); - var segment = $($(xml).find('a[name~="' + name + '"]')[0]).parent(); + var segment = $(xml).find('tbody a[name~="' + name + '"]')[0]; return doc._esc((new XMLSerializer()).serializeToString(segment)); }