(defn render-inner-html! [attrs children sb]
(when-let [inner-html (:dangerouslySetInnerHTML attrs)]
(when-not (empty? children)
(throw (Exception. "Invariant Violation: Can only set one of `children` or `props.dangerouslySetInnerHTML`.")))
(when-not (:__html inner-html)
(throw (Exception. "Invariant Violation: `props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")))
(append! sb (:__html inner-html))
true))