What is Nostr?
Doug Parker 🕸️ /
npub1hvt…jhta
2024-07-14 01:25:45

Doug Parker 🕸️ on Nostr: Does anyone on here happen to know the motivation or reasoning for why whitespace ...

Does anyone on here happen to know the motivation or reasoning for why whitespace collapsing in #HTML applies to the space character entity ` `?

I get that:

```html
<div>Hello, World!</div>
```

Will collapse down to:

```html
<div>Hello, World!</div>
```

But why does:

```html
<div>Hello,&#32;&#32;&#32;&#32;&#32;&#32;&#32;World!</div>
```

Do the same? I can't imagine any developer who would want that behavior.
Author Public Key
npub1hvt595dnyyfx57xf5edvhxuppfykj0qmw6myg6hqt87rluxv90eqdwjhta