When copy and pasting text containing formatting, e.g. copied from a browser, into the scripting window, the formatting (font size, color, bold, italic etc.) will be shown in the editor.
Saving the script will work, and formatting does not get saved, so this is only an initial display issue. Still it is unexpected and confusing. Picard should remove all formatting before pasting the text.