Avoid triggering a re-config when deps change.
Fix html quoting in events.