Skip to content

Conversation

@jasonccox
Copy link

If the taxonomy name differs when normalized versus unnormalized (e.g., because it has a space in it which is converted to a dash when normalized), the plural tree key will not match as a prefix to the term's base path (which is normalized). Use the non-normalized taxonomy name instead to ensure that the prefix always matches and is trimmed.

Fixes: #13422

If the taxonomy name differs when normalized versus unnormalized (e.g.,
because it has a space in it which is converted to a dash when
normalized), the plural tree key will not match as a prefix to the
term's base path (which is normalized). Use the non-normalized taxonomy
name instead to ensure that the prefix always matches and is trimmed.

Fixes: gohugoio#13422
Signed-off-by: Jason Cox <me@jasoncarloscox.com>
@jmooring
Copy link
Member

I have verified that this change addresses both of the cases described in #13422.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants