Change substitution markup in apptempt to fix a new look-behind assertions error. Thanks to Paolo Cavallini for the report.