replacing triple single quotes with triple ticks