-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Original author: PhiLho....@gmail.com (April 28, 2012 09:15:25)
Using Processing 1.5.1 on Windows 7 with Java 1.6.0_31.
I haven't tried the 2.0 alpha yet.
When I copy a script in HTML form, via Edit > Copy as HTML or via Ctrl+Shift+C, I get HTML in the clipboard in textual form. It would be nice to have it also in "HTML Format" (created when copying text from a page in Firefox, IE, etc.), something allowing to paste directly in the edition area of the Zoho forums. It would allow to avoid the View HTML mode which is buggy.
But the main point of this report is that this copy doesn't escape special HTML characters. So, I can see ArrayList<PVector> loosing its generics declaration, and conditions like i<list.size() risk to be lost.
You should escape at least &, < and > to & < and > respectively.
Thanks.
Original issue: http://code.google.com/p/processing/issues/detail?id=1065