Closed tciuro closed 9 years ago
I just discovered that if I wrap the string with the hyphen using back ticks, it gets rendered well:
+ filter (optional,enum[string])
+ Members
+ `non-foo` - This is A
+ `with-bar-results` - This is B
Not that This is A
and This is B
are not being rendered at all.
@tciuro Thanks for noticing this. I'll be fixing the %
-encoded display of choices shortly. As for the choice description, the default theme has no way of displaying those at the moment. This may be a feature I look into adding in the future.
Check the following snippet:
Rendered results:
The spec seems to imply that each choice can contain a description:
Please note that the URI is being rendered fine if it contains encoded hyphens (%2D).