Text this: Adapted B-Spline Quasi-Interpolation for Approximating Piecewise Smooth Functions