First time here? Check out the FAQ!

Revision history  [back]

text between angle brackets is silently dropped (in preview)

python:
>>> L = [1,2,3]
>>> type(L)

>>> 

should read:

python:
>>> L = [1,2,3]
>>> type(L)
<type 'list'>
>>> 

EDIT: Oh, they don't get dropped from the posted question, only from the preview!

EDIT 2: the above should be <even here?>

It seems that angle brackets are ignored, together with everything between them, probably for html reasons. Using "& lt ;" etc. of course fixes this, so <this doesn't get dropped>, but this could be a problem when pasting code snippets, as above.

What to do about this? Maybe just let people post confusing code snippets until they figure out they need to modify them . . . or maybe toss up a warning flag when angle brackets are detected? Come to think of it, putting up a flag when any kind of special markup is detected might be useful for new users who are unaware of it. Then people trying to post a question involving subscripts wouldn't inadvertently be italicizing part of their question. (e.g. the first line of this question from asksage)

text between angle brackets is silently dropped (in preview)dropped

python:
>>> L = [1,2,3]
>>> type(L)

>>> 

should read:

python:
>>> L = [1,2,3]
>>> type(L)
<type 'list'>
>>> 

EDIT: Oh, they don't get dropped from the posted question, only from the preview!

EDIT 2: the above should be <even here?>

It seems that angle brackets are ignored, together with everything between them, probably for html reasons. Using "& lt ;" etc. of course fixes this, so <this doesn't get dropped>, but this could be a problem when pasting code snippets, as above.

What to do about this? Maybe just let people post confusing code snippets until they figure out they need to modify them . . . or maybe toss up a warning flag when angle brackets are detected? Come to think of it, putting up a flag when any kind of special markup is detected might be useful for new users who are unaware of it. Then people trying to post a question involving subscripts wouldn't inadvertently be italicizing part of their question. (e.g. the first line of this question from asksage)

text between angle brackets is silently dropped

python:
>>> L = [1,2,3]
>>> type(L)

>>> 

should read:

python:
>>> L = [1,2,3]
>>> type(L)
<type 'list'>
>>> 

EDIT: Oh, they don't get dropped from the posted question, only from the preview!

EDIT 2: the above should be <even here?>

It seems that angle brackets are ignored, together with everything between them, probably for html reasons. Using "& lt ;" etc. of course fixes this, so <this doesn't get dropped>, but this could be a problem when pasting code snippets, as above.

What to do about this? Maybe just let people post confusing code snippets until they figure out they need to modify them . . . or maybe toss up a warning flag when angle brackets are detected? Come to think of it, putting up a flag when any kind of special markup is detected might be useful for new users who are unaware of it. Then people trying to post a question involving subscripts wouldn't inadvertently be italicizing part of their question. (e.g. the first line of this question from asksage)

text between angle brackets is silently dropped

python:
>>> L = [1,2,3]
>>> type(L)

>>>  

should read:

python:
>>> L = [1,2,3]
>>> type(L)
<type 'list'>
>>>  

EDIT: Oh, they don't get dropped from the posted question, only from the preview!

It seems that angle brackets are ignored, together with everything between them, probably for html reasons. Using "& lt ;" etc. of course fixes this, so <this doesn't get dropped>, but this could be a problem when pasting code snippets, as above.

What to do about this? Maybe just let people post confusing code snippets until they figure out they need to modify them . . . or maybe toss up a warning flag when angle brackets are detected? Come to think of it, putting up a flag when any kind of special markup is detected might be useful for new users who are unaware of it. Then people trying to post a question involving subscripts wouldn't inadvertently be italicizing part of their question. (e.g. the first line of this question from asksage)

text between angle brackets is silently dropped

python:
>>> L = [1,2,3]
>>> type(L)

>>>  

should read:

python:
>>> L = [1,2,3]
>>> type(L)
<type 'list'>
>>>  

It seems that angle brackets are ignored, together with everything between them, probably for html reasons. Using "& lt ;" etc. of course fixes this, so <this doesn't get dropped>, but this could be a problem when pasting code snippets, as above.

What to do about this? Maybe just let people post confusing code snippets until they figure out they need to modify them . . . or maybe toss up a warning flag when angle brackets are detected? Come to think of it, putting up a flag when any kind of special markup is detected might be useful for new users who are unaware of it. Then people trying to post a question involving subscripts wouldn't inadvertently be italicizing part of their question. (e.g. the first line of this question from asksage)