this post was submitted on 30 Jul 2023
15 points (94.1% liked)

Asklemmy

43899 readers
1188 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Tech dumb here. Whats up with & often appearing at random in the middle of sentences on the interwebs?

you are viewing a single comment's thread
view the rest of the comments
[–] SupremeFuzzler 20 points 1 year ago* (last edited 1 year ago)

Do you mean & by itself, or as part of a thing like &? The latter is an HTML “character reference,” which is used to represent characters that clash with bits of HTML syntax. For example, HTML tags are wrapped in “angle brackets”, also known as the less-than and greater-than symbols, so if you want to write those symbols, you need to use < and > instead.

All this encoding crap is supposed to happen behind the scenes, but some software forgets to handle them correctly, and the character references “peek through” and get rendered as plain text.

Edit: this post is a good example of software being weird. It automatically converted the code for the greater than symbol into the symbol itself, but not the others.