NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
bug, amphasand (&)
Veteran

Joined: 15 Nov 2003
Posts: 118
Reply with quote
consider this:

$myVar = "http://myaddress.com/index.php?var=1&var=2";

now, break after this line of code and hover over the variable $myVar.

The text tooltip should show the value of $myVar, however, it doesnt, the letter directly after the ampersand (&) is underlined and the & is omitted in the tooltip.



joe
#
View user's profileFind all posts by joebSend private message


Joined: 21 Nov 2003
Posts: 39
Reply with quote
That is because the value of the variable is directly set as the tooltip and Windows treats ampersand (&) as hotkey specifier, making the next character underlined. In order to display the ampersand you must use 2 ampersands (&&).
Note to phpED developers: make phpED replace every & with && to display the ampersand correctly
View user's profileFind all posts by netgertSend private messageVisit poster's websiteMSN Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
phped 3.3 release addressed this issue.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
bug, amphasand (&)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic