I spent most of today rewriting SAX, and here are two things I found lurking in the code.


The first bug involves link parsing: [[ a ]( https://example.com/a )]( https://example.com/b )

This is parsed like this:

Which of course shows up like this, which is obviously incorrect.


Discord does things... differently (earlier example with two actual links, this is the same bug)- this is probably what is intended by the user:


GitHub parses this in the way I would consider to be the most sensible:




The next bug involves inconsistent parsing of the /me command. If you say a message starting with /me that doesn't have a space immediately after the me, ex. /meep, the /me is passed through and removed from the message shown to the user (as if it was a proper me command), though it is not formatted as such:

/meep produces:



Just so that I'm not responsible for an influx of a billion people abusing/spamming these, I'll note that previous abuse of our nice things has resulted in the loss of our nice things :)
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
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

 

Advertisement