Make `is_supported_content` to return a boolean string
There is a specific behavior how HAML treats booleans. * If value is true, then the data attribute key is present but it has no value. * If value is false, then the data attribute key is missing. Such behavior makes it more difficult to fetch data attributes on frontend side. It seems to be a common approach in GitLab codebase to use boolean strings and parse them.
Showing
Please register or sign in to comment