Hi Scott,
thanks for taking care. Let me if I can be of any help fixing the bug.
To be honest, I looked at the code but did not get far in understanding how it works. The idea was to implement a general regex search/replace mechanism for all html, much like a sed pipe. Did not find a good hook where this could be implemented, though.
Best,
Peer