Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do I put less-than sign and greater-than sign in Question summary?

I was posting a question in Jazz.net and I put < and > in the Question summary. When it was displayed, < and > was gone. However, I can see < and > correct in question description.

0 votes


Accepted answer

Permanent link
The less-than sign and greater-than sign will come out correctly in Question summary if
1. you use greater-than sign by itself in the Question summary
Sample question: "Is 2 > 1?"

2. you use less-than sign by itself in the Question summary
Sample question: "Is 0 < 1"?

3. you use greater-than sign followed by less-than sign in the Question summary
Sample question: "Is 2>1 and 0 < 1?"

It will disappear if you use less-than sign followed by a greater-than sign.
This is because it will be interpreted as an invalid HTML tag and then gets ignored.

For example, if you post the following in the Question summary, "< and >" will be interpreted as an invalid HTML tag and gets ignored.
Sample question: "What is between < and >?"

And the question will become

"What is between ?"

Solution:
In Question summary, use &amp;lt; in place of <, and use &amp;gt; in place of >

For example, to post the question "What is between < and >?", you need to change it to 
"What is between &amp;lt; and &amp;gt;?"

PS. In Question description, < and > can be used freely.

Taro Misaki selected this answer as the correct answer

2 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,134
× 1,733

Question asked: Jul 23 '15, 12:29 a.m.

Question was seen: 5,262 times

Last updated: Jul 23 '15, 12:49 a.m.

Confirmation Cancel Confirm