diff options
author | Lynn <lynn@foldr.moe> | 2017-06-03 13:35:17 +0200 |
---|---|---|
committer | Lynn <lynn@foldr.moe> | 2017-06-03 13:35:17 +0200 |
commit | 7d0d3a445b4a55406edef4720251c9be747d301b (patch) | |
tree | 913ee5d5e914de46ed9aeb09596d08c7c2266a86 /src | |
parent | 46b299da8c00eb35b758db6585e69882b7f60560 (diff) |
Allow pronoun.is/she/or/xe syntax
Diffstat (limited to 'src')
-rw-r--r-- | src/pronouns/pages.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index e33893f..d1a5574 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -191,7 +191,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))] |