replace xml with gsubfn for code highlighting text hack