Allow pronoun.is/she/or/xe syntax
This commit is contained in:
parent
46b299da8c
commit
7d0d3a445b
@ -191,7 +191,7 @@
|
|||||||
(defn pronouns [params]
|
(defn pronouns [params]
|
||||||
(let [path (params :*)
|
(let [path (params :*)
|
||||||
alts (or (params "or") [])
|
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
|
pronoun-declensions (filter some? (map #(lookup-pronouns
|
||||||
(escape-html %))
|
(escape-html %))
|
||||||
pronouns))]
|
pronouns))]
|
||||||
|
Loading…
Reference in New Issue
Block a user