Unverified Commit 6774c5a3 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #16368 from davelopez/23.0_fix_named_tags_in_mako

[23.0] Fix display of named tags in mako
parents ffaf9917 a644d1d1
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -33,13 +33,7 @@ from markupsafe import escape
        tagged_item_id = str( trans.security.encode_id ( tagged_item.id ) )
        controller_name = get_controller_name(tagged_item)
        click_url = h.url_for( controller='/' + modern_route_for_controller(controller_name) , action='list_published')
        community_tags = trans.app.tag_handler.get_community_tags( item=tagged_item, limit=5 )

        ## Having trouble converting list of tags into a plain array, this just
        ## just plucks out the name
        community_tag_names = []
        for tag in community_tags:
            community_tag_names.append(escape(tag.name))
        community_tag_names = community_tags = tagged_item.make_tag_string_list()
    %>
    
    <div id="tags-community-${controller_name}-${tagged_item_id}"></div>