A line break in the HTML source is just whitespace and can be collapsed. A <br> element is going to remain as a line break in the output, regardless of the formatting of the source.
Whether it's correct to even HAVE a "line break in the output" concept is a separate question, but it can't be done with a \n character or any other whitespace.
There are so many vulnerabilities in the web stack (HTML, CSS, JavaScript, even fonts) that this is why just about all browsers, starting back around 2008 with Internet Explorer 8 and the first Chrome betas, run web content in separate processes that have OS-level privilege isolation and sandboxing.
Sorry, but I juat don't see you add anything funny here. I just get agitated easily from people pointing out useless things because they didn't really think about what it means what they discovered.
The warning about an unsecured connection is probably something from ios I guess? I dont get them on Android + Firefox and it's blazing fast. The confirmation has nothing to do with how efficient the connection and the needed resources are.
The site without tls is ever so slightly fast for me but not really worth mentioning tbh. More important is that it matches the design philosophy of that mother fucking website to keep it simple, stupid.
This reminds me of the brilliant high life super bowl commercial a few years back that was about 2 seconds long of the delivery guy simply saying "high life"
PHP is old old, though, so asking for none of that means no webrings (which often used PHP to keep track of which part of the ring you were in) and no vBulletin either.
You can legit use tricks to write legit code with CSS.. Its hacky as all hell but you can absolutely abuse the layout engine to work as a runtime interpreter.
HTML parsing and rendering is hugely complex nowadays, and all browsers consist of literally millions of lines of code. It's more than likely that there are unknown vulnerabilities lurking.
I remember back in college, if you pasted huge text data into the Google search box in Firefox (back when the search was part of the page, not the address bar) , it would crash the video driver on the our lab computers.
There are many cves about crafted html that cause browser sandbox escape. For server we have file inclusion using shtml, xxe. If we count AI a vector, then there are html prompt injection. For web crawler we have content type auto download.
Jokes aside parsing modern HTML and rendering the DOM with the css is so hard that there are like 4 or 5 modern implementations and most of the world uses 1. Even with all the browsers there are
And also for real, it is for the best that there are so few browser engines.
Those of you who didn’t live through the era of IE5-7 may not even be able to comprehend what it was like when even different versions of the same browser had wildly different implementations
It's not "hard", it's very well specified and documented, you can pretty much just copy-paste the spec into code. The problem is that the spec is huge, with lots of interconnected parts, legacy edge cases, and constantly changing to support new features. And real-world implementations eventually have to deviate from the spec algorithms for performance reasons.
For me it's all the layers involving PHP and a database. Front ends should never really need a database for normal content, even if it's under confusing layers of caching.
is there a future where php and other languages that interact with your server will get so busted we just return to simply having a full site in .html files?
That or a react site that never does a fetch of any kind.
There Werke maaany HTML, CSS and JS vulnerabilities. Decades ago it it was a huge Problem because browser were patched often. Then major browsers started autopatching and the whole situation got much better. Imagine autopgrade for all webservers. Problem solved before anything made public.
That's not the reason security is better. Development for the web is better because of standards but that has nothing to do with security. Patches can be rolled out faster..
34
u/saschaleib Oct 24 '26
Hot take:
<br>should have never been a tag. An entity (maybe something like&br;) would have been the better choice.866
u/GoldenShackles Oct 24 '26
There are so many vulnerabilities in the web stack (HTML, CSS, JavaScript, even fonts) that this is why just about all browsers, starting back around 2008 with Internet Explorer 8 and the first Chrome betas, run web content in separate processes that have OS-level privilege isolation and sandboxing.
242
u/nonlogin Oct 24 '26 •
<script> tag allows arbitrary Javascript injection and execution. has not been fixed for years.
386
u/that_70_show_fan Oct 24 '26 •
I am gravitating towards simple HTML websites. Simple purpose-built websites is a lost art.
305
u/ismaelgo97 Oct 24 '26
I'm waiting for the CSS one
32
u/Stummi Oct 25 '26
HTML parsing and rendering is hugely complex nowadays, and all browsers consist of literally millions of lines of code. It's more than likely that there are unknown vulnerabilities lurking.
26
u/xaomaw Oct 24 '26
<img src="Linkin_Park_-_In_The_End.mp3.exe">49
u/Professional_Price89 Oct 24 '26
There are many cves about crafted html that cause browser sandbox escape. For server we have file inclusion using shtml, xxe. If we count AI a vector, then there are html prompt injection. For web crawler we have content type auto download.
37
u/frikilinux2 Oct 24 '26
Jokes aside parsing modern HTML and rendering the DOM with the css is so hard that there are like 4 or 5 modern implementations and most of the world uses 1. Even with all the browsers there are
14
u/arealuser100notfake Oct 24 '26
BRAZIL MENTIONED
13
u/sarc-tastic Oct 24 '26
<br />
9
u/Glum_Cheesecake9859 Oct 25 '26
Imagine the "marquee" tag being downfall of human civilization!
8
u/Cabbagecrafting Oct 24 '26
14
u/HungryLikeDaW0lf Oct 24 '26
I still put in a <blink> tag just to see who’s using an old browser
6
u/stilldebugging Oct 24 '26
If they ever find a vulnerability in nbsp;nbsp;nbsp, we are doomed.
4
u/LieutenantNitwit Oct 24 '26
help my <blink> tag stopped blinking hlp
4
u/stray_semicolon Oct 24 '26
The thing goes <brrrrr />
3
u/NiagaraThistle Oct 24 '26
Just realized how much i must be online when i see a post in Reddit with a screenshot of a entrepreneur I follow ion Twitter.
I'm going to go walk my dog and touch some grass.
3
u/Boobpocket Oct 25 '26
I think with llms being good at making simple html js websites there is no need for wordpress for the majority of websites that run wordpress.
2
u/fubbleskag Oct 24 '26
I choose to believe Nico chose <br> as a joke about Brotli
2
u/thisonehereone Oct 24 '26
I mean if you don't close your tags you're leaving them open to a vulnerability.
3
u/Ketooth Oct 25 '26
Jokes on you. Already found it.
Just press F12 and you can redesign the page.
Now you can just change any button with a pricetag to "Free"
Take that big corpo
1
u/Kadabrium Oct 24 '26
<br> </ap>
1
u/mattgen88 Oct 24 '26
We've had CVEs with HTML. A few were ACEs.
Just search internet explorer.
1
u/akazakou Oct 25 '26
Actually you need to use
<br />tags1
u/Jet-Pack2 Oct 25 '26
These unescaped br tags are the worst!
1
u/AndiArbyte Oct 25 '26
Yes we are all very good Markup Language Programmers. /scnr
1
u/psyfregle Oct 25 '26
HTML vuln goes brrrr
1
u/Ksorkrax Oct 25 '26
It would be hilarious if <br> was actually an issue, that is breaks usually not being closed.
I use self-closing breaks on my website, so I could lean back and enjoy everybody else panicking.
1
u/podun Oct 26 '26
It's all fun and games until you have to recenter the divs
1
u/fredy31 Oct 26 '26
tbh it went through my mind this morning.
is there a future where php and other languages that interact with your server will get so busted we just return to simply having a full site in .html files?
That or a react site that never does a fetch of any kind.
1
u/remram Oct 27 '26
Wasn't
rel="noopener"a patch for the HTML tag<a>?1
u/muhkuller Oct 24 '26
How’d they break the non breaking spaces?
0
u/Single-Virus4935 Oct 24 '26
There Werke maaany HTML, CSS and JS vulnerabilities. Decades ago it it was a huge Problem because browser were patched often. Then major browsers started autopatching and the whole situation got much better. Imagine autopgrade for all webservers. Problem solved before anything made public.
0
u/SegretoBaccello 29d ago
A malicious website can inject arbitrary html code in your computer that can cause harm to the user when read. Especially if read out loud.
Like for example, "<h1>AI and robots will take all our jobs</h1>"
1
u/ChOcOcOwCaKe Oct 24 '26
I am looking forward to fixing my <p> holes