• Vasilii Iakliushin's avatar
    Make `is_supported_content` to return a boolean string · 04529170
    Vasilii Iakliushin authored
    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.
    04529170
config.rb 1.21 KB