Apply terminal_colour_replace bug.
Repair a bug in terminal_colour when apply terminal_colour_replace return a not color code string.