Question: copy paste code from mapleprimes doesn't always execute properly

A small annoyance, when some code is copied from mapleprimes and pasted into Maple (the standard windows copy-paste ctrl+c   ctrl+v) and executed.  The code doesn't execute properly. 

For example

cprint:=proc(s,c)
nprintf("#mo(%A,mathcolor=\"%A\")",s,c):
end proc:

cprint("this is green",green);#prints green

cprint("this is green",red);#prints red

copying and pasting the above code in Maple and executing results in the following output

                                              

Not sure why?

Please Wait...