From 5d4ce50040d6da14585cae0f85a6a333e22d2d59 Mon Sep 17 00:00:00 2001 From: Stan Verberkt <2913270+verberktstan@users.noreply.github.com> Date: Tue, 4 Jun 2024 18:56:29 +0200 Subject: [PATCH] Escape double quotes in docstring --- src/swark/core.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swark/core.cljc b/src/swark/core.cljc index 2c3a8db..7e3623b 100644 --- a/src/swark/core.cljc +++ b/src/swark/core.cljc @@ -75,7 +75,7 @@ ;; TODO: Add tests (defn optional-args "Returns a function that selects and renames keys, and adds defaults for sequentialargs (as destructured by &). Supply a props map containing permitted input keys as keys, and a map with :default & :rename as val. -`((optional-args {:name {:rename :person/name :default "Unnamed person"} :from {:rename :person/from :default "Nowhere"}}) {:name "Me"}) => #:person{:name "Me" :from "Nowhere"}`" +`((optional-args {:name {:rename :person/name :default \"Unnamed person\"} :from {:rename :person/from :default \"Nowhere\"}}) {:name \"Me\"}) => #:person{:name \"Me\" :from \"Nowhere\"}`" [props] (let [renames (map-vals :rename props) defaults (map-vals :default props)]