             submit #(do (utils/stop-event %)
                         (when issue-description
                           (d/transact! issue-db [{:db/id (:db/id issue)
-                                                  :issue/description issue-description}]))
+                                                  :issue/description (str/trim issue-description)}]))
                         (clear-form))]
         (html
          (if editing?

                                                                       (throw "Couldn't create doc."))))]
                                                    (d/transact! issue-db [{:db/id -1
                                                                            :issue/created-at (datetime/server-date)
                                                                            :issue/title issue-title
                                                                            :issue/author (:cust/email cust)
                                                                            :issue/document doc-id
                                                                            :frontend/issue-id fe-id}])

                                              (d/transact! issue-db [{:db/id issue-id
                                                                      :issue/comments (merge {:db/id -1
                                                                                              :comment/created-at (datetime/server-date)
                                                                                              :comment/body (str/trim comment-body)
                                                                                              :comment/author (:cust/email cust)
                                                                                              :frontend/issue-id (utils/squuid)}
                                                                                             (when parent-id
