Help Please: Where is the rogue greater than symbol coming from?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help Please: Where is the rogue greater than symbol coming from?!

Please look at this file on github: https://github.com/roboirc/kvirc_docs/blob/master/kvirc%20docs/doc_class_index_all.html If you open the file in a browser locally, you will see the title "Classes: All" in a brown coloured box. Below that box and the next table, there is a rogue > (greater than) symbol. This character is not in the source code! If you do Inspect Element, it shows: " >" == $0 but those lines in the element inspector have no attributes! What is going on? Where is this coming from?!

9th Nov 2019, 5:23 PM
Nathan Stanley
Nathan Stanley - avatar
5 Answers
+ 3
On line 171 you have a stray >. The browser doesn't know where to put it because you are inside a table, so it puts it in front.
9th Nov 2019, 6:50 PM
Schindlabua
Schindlabua - avatar
+ 2
I removed parts of the document until the > disappeared and then I hit Ctrl+Z and looked at the part I removed. Rinse and repeat, took me about a minute :) That sort of error happens to me a bunch too, code editors will insert a > anytime you write < and sometimes you then add a second > because of muscle memory. So I knew what to look for.
10th Nov 2019, 11:07 PM
Schindlabua
Schindlabua - avatar
+ 1
Schindlabua I guess a follow up question is how did you find that? manually or did you use some search function or software that showed you?
10th Nov 2019, 9:42 PM
Nathan Stanley
Nathan Stanley - avatar
+ 1
nice trick to know. like a binary search.
10th Nov 2019, 11:08 PM
Nathan Stanley
Nathan Stanley - avatar
+ 1
Yeah, pretty much :D
10th Nov 2019, 11:09 PM
Schindlabua
Schindlabua - avatar