Disable autoflush
Replace tags instead of deleting