nl: call the function format_html_join twice, first time with 3 elements: an empty string, string ' {0}="{1}"'
code: return ( format_html_join ( '' , ' {0}="{1}"' , sorted ( attrs . items ( ) ) ) + format_html_join ( '' , ' {0}' , sorted ( boolean_attrs ) ) )