Comment 8 for bug 504956

Revision history for this message
Rune Philosof (olberd) wrote :

The easiest way to fix this would be to select //div[class='bug-comment'] and then run the regexp-replace on the innerhtml of those div elements.

Of course that would not be as generic an approach as the present one.

Another way, to keep the generic property would be to run the regexp on the parent innerhtml and then either accept that the same parents can be searched a lot of times or a keep track of which parents have already been searched.