                 env  {:left left
                       :right right
                       :error-codes error-codes}
-                html (diff-view id env)]
+                html (diff-segment id env)]
             {:type :html
              :value (pr-str self)
              :content html})))


;; **
;;; # Gorilla visualisations for error codes.
;;; 
;;; Inline views for error codes are a huge help when correcting pages and viewing the changes made by correction algorithms.
;; **


;; <=

;; @@

(m/defsegment diff-segment
              {:preamble ["react.js"]
               :optimizations :advanced
               :pretty-print false
