from typing import Dict


def expand_vars_in_text(text: str, variables: Dict[str, str]) -> str:
    """
    Expand all variables in a given string.

    For the moment, variables must not contain variable references.
    """
    for var, value in variables.items():
        var = "§{" + var + "}"
        text = text.replace(var, value)

    return text