```python
def hug_text(text: str, mark: str) -> str:
