Generate a view with links to nodes where a given $reptag$ occurs.

Comments

profix898’s picture

Right now, we are using preg_replace to perform the replacement operation and its not possible to know, which tags are actually used. Do you have an idea how such a list could easily be generated?

webel’s picture

if you know what tag you are targeting, you could - before replacement - search for hits (preempting what will be replaced) and record which nodes would require a replacement, then perform the actual replacement. Make the replacement sweep a bit slower of course.