File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -469,10 +469,10 @@ impl TemplatedPost {
469469 . add_generic_attributes ( [ "data-cohost-href" , "data-cohost-src" ] ) // cohost2autost
470470 . add_generic_attributes ( [ "data-import-src" ] ) // autost import
471471 . add_tag_attributes ( "a" , [ "target" ] )
472- . add_tag_attributes ( "audio" , [ "controls" , "src" ] )
472+ . add_tag_attributes ( "audio" , [ "controls" , "src" , "loop" ] )
473473 . add_tag_attributes ( "details" , [ "open" , "name" ] ) // <details name> for cohost compatibility
474474 . add_tag_attributes ( "img" , [ "loading" ] )
475- . add_tag_attributes ( "video" , [ "controls" , "src" ] )
475+ . add_tag_attributes ( "video" , [ "controls" , "src" , "loop" ] )
476476 . add_tags ( [ "audio" , "meta" , "video" ] )
477477 . add_tag_attributes ( "meta" , [ "name" , "content" ] )
478478 . id_prefix ( Some ( "user-content-" ) ) // cohost compatibility
You can’t perform that action at this time.
0 commit comments