Open zecakeh opened 3 days ago
This was a regression in the rendered spec introduced in #1969.
If the description is not set in the object definition, Hugo generates a weird string after "Required": %!s(<nil>).
%!s(<nil>)
To avoid that, we default the description to an empty string when it is not set.
Example, in the m.text definition:
m.text
Before:
After:
Preview: https://pr2005--matrix-spec-previews.netlify.app
This was a regression in the rendered spec introduced in #1969.
If the description is not set in the object definition, Hugo generates a weird string after "Required":
%!s(<nil>)
.To avoid that, we default the description to an empty string when it is not set.
Example, in the
m.text
definition:Before:
After:
Pull Request Checklist
Preview: https://pr2005--matrix-spec-previews.netlify.app