This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-06 12:36:40

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

The "<3" Problem.

When I try to edit my project notes on my projects and add this text "<3" and when you press ok It deletes everything you wrote after it.

Is this a problem, or is it supposed to do it?

Last edited by CheeseMunchy (2011-12-06 12:37:15)


6418,

Offline

 

#2 2011-12-06 12:43:48

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: The "<3" Problem.

Do "&lt;3". It's a bug.

Offline

 

#3 2011-12-06 13:08:53

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: The "<3" Problem.

Yeah, you have to use HTML codes for that.


Posts: 20000 - Show all posts

Offline

 

#4 2011-12-06 16:13:41

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: The "<3" Problem.

Maybe this should go in either All About Scratch or Troubleshooting?


Why

Offline

 

#5 2011-12-06 17:37:02

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: The "<3" Problem.

RedRocker227 wrote:

Maybe this should go in either All About Scratch or Troubleshooting?

No. I'm suggesting it gets fixed.  big_smile


6418,

Offline

 

#6 2011-12-06 22:52:23

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: The "<3" Problem.

Suggestions are more for new features, and I wouldn't describe a bug fix as such.  hmm  I'll move this to Troubleshooting for you.  smile  Either way, yes, it's a longstanding bug - one which I'd have thought the Scratch team would have fixed by now!

Offline

 

#7 2011-12-07 05:04:55

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: The "<3" Problem.

coolstuff wrote:

Suggestions are more for new features, and I wouldn't describe a bug fix as such.  hmm  I'll move this to Troubleshooting for you.  smile  Either way, yes, it's a longstanding bug - one which I'd have thought the Scratch team would have fixed by now!

The good news is that it is in the bug-tracking system (#480).  The not-so-good news is that it isn't marked as very high priority and it hasn't been fixed yet.

I can imagine that it's a real pain when a good chunk of your project note text disappears on you...I'll start the discussion to see if the priority should be raised.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#8 2011-12-07 05:12:16

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: The "<3" Problem.

Paddle2See wrote:

coolstuff wrote:

Suggestions are more for new features, and I wouldn't describe a bug fix as such.  hmm  I'll move this to Troubleshooting for you.  smile  Either way, yes, it's a longstanding bug - one which I'd have thought the Scratch team would have fixed by now!

The good news is that it is in the bug-tracking system (#480).  The not-so-good news is that it isn't marked as very high priority and it hasn't been fixed yet.

I can imagine that it's a real pain when a good chunk of your project note text disappears on you...I'll start the discussion to see if the priority should be raised.

As I said to Lightnin, "Just 2 lines of RegExp, I think. D:" Such an easy fix, to parse "<" as "&lt".
I'm pretty bad at RegExp, but even I can give the JS code for it!

Code:

//This assumes that the project notes are stored in a variable "project_notes".
project_notes = project_notes.replace(/</g,"&lt;");
project_notes = project_notes.replace(/>/g,"&gt;");

Offline

 

Board footer