<commit_before>(ns faceboard.views.boards.generic
  (:require [om-tools.core :refer-macros [defcomponent]]
            [faceboard.logging :refer [log, log-err, log-warn]]
            [om-tools.dom :as dom]))

(defcomponent generic-component [data _ _]
  (render [_]
    (dom/div {:dangerouslySetInnerHTML #js {:__html (:content data)}})))<commit_msg>Generic board should use non-sanitized-div<commit_after>(ns faceboard.views.boards.generic
  (:require [om-tools.core :refer-macros [defcomponent]]
            [faceboard.helpers.utils :refer [non-sanitized-div]]
            [faceboard.logging :refer [log, log-err, log-warn]]))

(defcomponent generic-component [data _ _]
  (render [_]
    (non-sanitized-div (:content data))))
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.0, 'mean_word_length': 3.827814569536424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5087', 'n_tokens_mistral': 239, 'n_tokens_neox': 235, 'n_words': 48}