J2K registerInspectionBasedProcessing: use correct target for applyTo
This commit is contained in:
@@ -190,7 +190,7 @@ object J2KPostProcessingRegistrar {
|
||||
if (!isApplicable(tElement)) return null
|
||||
return {
|
||||
if (isApplicable(tElement)) { // check availability of the inspection again because something could change
|
||||
inspection.applyTo(element)
|
||||
inspection.applyTo(inspection.inspectionTarget(tElement))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user