Persists HTML to transient state.