(episode, podcast, title=None)
return format_html(
        '<a href="{target}" title="{title}">{title}</a>',
        target=get_episode_link_target(episode, podcast),
        title=title,
    )
Returns the link for a single Episode
Returns the link for a single Episode
Returns the link for a single Episode
def episode_link(episode, podcast, title=None):
    """Returns the link for a single Episode"""

    title = (
        title
        or getattr(episode, "display_title", None)
        or episode.get_short_title(podcast.common_episode_title)
        or episode.title
        or _("Unknown Episode")
    )

    title = strip_tags(title)

    return format_html(
        '<a href="{target}" title="{title}">{title}</a>',
        target=get_episode_link_target(episode, podcast),
        title=title,
    )
def episode_link ( episode , podcast , title = None ) : title = ( title or getattr ( episode , "display_title" , None ) or episode . get_short_title ( podcast . common_episode_title ) or episode . title or _ ( "Unknown Episode" ) ) title = strip_tags ( title ) return format_html ( '<a href="{target}" title="{title}">{title}</a>' , target = get_episode_link_target ( episode , podcast ) , title = title , )