# User-defined transformers


def replace_text(state, text, replacment):
    state["html"] = state["html"].replace(text, replacment)

676297dc258002e640e38612465fe828bf15fb6d
<mask token>

def replace_text(state, text, replacment):
    state['html'] = state['html'].replace(text, replacment)

# User-defined transformers


def replace_text(state, text, replacment):
    state["html"] = state["html"].replace(text, replacment)
