Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/xtz/XTZFacsPagerStep.groovy

XTZFacsPagerStep.groovy (revision 479)
70 70
			def tags = closeMultiWriter();
71 71
			for (int i = 0 ; i < tags.size() ; i++) {
72 72
				String tag = tags[i]
73
				if ("body" != tag) {
73
				if ("div" != tag) {
74 74
					tags.remove(i--)
75 75
				} else {
76
					tags.remove(i--) // remove "body"
77
					break; // remove elements until "body tag
76
					tags.remove(i--) // remove first "div"
77
					break; // remove elements until first "div" tag
78 78
				}
79 79
			}
80 80

  

Also available in: Unified diff