diff --git a/web/src/main/frontend/components/hiccup.cljs b/web/src/main/frontend/components/hiccup.cljs index 12fbf77503..5d5d4eae4b 100644 --- a/web/src/main/frontend/components/hiccup.cljs +++ b/web/src/main/frontend/components/hiccup.cljs @@ -1433,7 +1433,7 @@ (latex/html-export s true true) (latex/latex (str (dc/squuid)) s true true)) ["Example" l] - [:pre + [:pre.pre-wrap-white-space (join-lines l)] ["Src" options] (let [{:keys [language options lines]} options diff --git a/web/src/main/frontend/extensions/code.cljs b/web/src/main/frontend/extensions/code.cljs index 03b709faad..0a2a57b0b7 100644 --- a/web/src/main/frontend/extensions/code.cljs +++ b/web/src/main/frontend/extensions/code.cljs @@ -15,12 +15,12 @@ (highlight! state) state)} [state id attr code] - [:pre.code + [:pre.code.pre-wrap-white-space [:code (assoc attr :id id) code]]) (defn html-export [attr code] - [:pre + [:pre.pre-wrap-white-space [:code attr code]]) diff --git a/web/src/main/frontend/tools/tongue.cljs b/web/src/main/frontend/tools/tongue.cljs index 3b9c48e098..ae9a62a9ad 100644 --- a/web/src/main/frontend/tools/tongue.cljs +++ b/web/src/main/frontend/tools/tongue.cljs @@ -221,7 +221,7 @@ :re-index "Re-index" :export-json "Export as JSON" :unlink "unlink" - :search "Search" + :search "Search or Create Page" :new-page "New page" :graph "Graph" :all-repos "All repos"