Merge pull request #70 from lynn/feature/slash-or
Allow slashes in pronoun alternative syntax
This commit is contained in:
commit
ef32711b17
@ -202,7 +202,7 @@
|
||||
(defn pronouns [params]
|
||||
(let [path (params :*)
|
||||
alts (or (params "or") [])
|
||||
pronouns (concat [path] (u/vec-coerce alts))
|
||||
pronouns (concat (s/split path #"/or/") (u/vec-coerce alts))
|
||||
pronoun-declensions (filter some? (map #(lookup-pronouns
|
||||
(escape-html %))
|
||||
pronouns))]
|
||||
|
Loading…
Reference in New Issue
Block a user