Preventing line breaks in <code> elements
Posted by surprisetalk 11 hours ago
Comments
Comment by danlitt 10 hours ago
Comment by layer8 9 hours ago
Comment by chrisandchris 8 hours ago
And also
> Nov, 2020
And then, StackOverflow asks itself why it looses users.
Comment by layer8 8 hours ago
Comment by magicalist 8 hours ago
Comment by pwdisswordfishq 9 hours ago
Comment by rokkamokka 10 hours ago
Comment by zarzavat 10 hours ago
Comment by pkal 10 hours ago
The more fundamental question for me is why the author didn't decide to make make code blocks non-breaking by default, or just add the class annotations when he writes the HTML?
Comment by tyho 9 hours ago
Comment by magicalist 8 hours ago
> You can absolutely parse HTML with regex, so long as the document is finite in length
This isn't sufficient, unless I'm misinterpreting what you're saying. It's not enough to have documents of finite length (all documents are finite in length), you need documents with a max length, so you have a finite number of possible documents to parse.
Comment by gpvos 9 hours ago
Comment by matheusmoreira 10 hours ago
Comment by timedude 9 hours ago
Comment by throw1234567891 9 hours ago
Comment by prmoustache 9 hours ago
Comment by pwdisswordfishq 9 hours ago
Comment by pimlottc 9 hours ago