That’s because TextExpander uses that ‘%>’ as a cursor movement.
That’s because TextExpander uses that ‘%>’ as a cursor movement.
Unfortunately for you (and for me) the close tag ‘%>’ that you want to put on TextExpander have a special meaning for the program (it moves the cursor to the right).