1
0
Fork 0

- [GUI] reinitialized internal state of the renderer when rendering an error page.

This commit is contained in:
cage 2023-07-16 14:55:29 +02:00
parent 47f98d7442
commit 0858bb3534
1 changed files with 1 additions and 0 deletions

View File

@ -827,6 +827,7 @@
(defun render-gemtext-string (main-window parsed-lines &key (links-path-prefix "")) (defun render-gemtext-string (main-window parsed-lines &key (links-path-prefix ""))
(ev:with-enqueued-process-and-unblock () (ev:with-enqueued-process-and-unblock ()
(clear-gemtext main-window) (clear-gemtext main-window)
(initialize-ir-lines main-window)
(collect-ir-lines links-path-prefix gui-goodies:*main-frame* parsed-lines))) (collect-ir-lines links-path-prefix gui-goodies:*main-frame* parsed-lines)))
(defun iri-ensure-path (iri) (defun iri-ensure-path (iri)