simple Swift framework that escapes special HTML characters