Okay yes you can replace the `blank_tag` function and the two lines below it with this:
def blank_tag(tag, argument):
return [ ]
config.self_closing_custom_text_tags["elif"] = blank_tag
config.self_closing_custom_text_tags["else"] = blank_tag
Hope that helps!