@register.tag(name="render_placeholder")
def do_render_placeholder(parser, token):
    try:
        tag_name, id_placeholder = token.split_contents()
    except __HOLE__:
        raise template.TemplateSyntaxError("%r tag requires a single argument" % token.contents.split()[0])

    if not (id_placeholder[0] == id_placeholder[-1] and id_placeholder[0] in ('"', "'")):
        raise template.TemplateSyntaxError(
            "%r tag's argument should be in quotes" % tag_name)
    return PlaceholderNode(id_placeholder[1:-1])
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/website/templatetags/placeholder_tags.py/do_render_placeholder