Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40095

Re: Fixing Google Groups Styling

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Fixing Google Groups Styling
Date 2021-05-22 20:29 +0200
Organization PointedEars Software (PES)
Message-ID <4316218.LvFx2qVVIh@PointedEars.de> (permalink)
References <593e21d6-38d4-497d-8db7-586644b820edn@googlegroups.com> <5713312.lOV4Wx5bFT@PointedEars.de> <5cfd1112-41bedf7d-1ac80c45.tiberius@james.kirk.invalid>

Show all headers | View raw


James Kirk wrote:
^^^^^^^^^^
You should use your real name here.

> In Message: <5713312.lOV4Wx5bFT@PointedEars.de>
> Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote:

You should trim the attribution to one line (or do not use Google Groups, 
which I would recommend).
 
>> Michael Haufe (TNO) wrote:
>>> they broke layout again.
> 
> [snip]
> 
>>> html-blob {
>>>   white-space: pre;
>>> }
> 
> [snip]
> 
>> I will try your suggestion, then.

Now I know why I did not use the (custom) “html-blob” element type as 
selector, but rather “.ptW7te”, where “ptW7te” is the class of the parent 
“div” element: It can contain both the quote and the original/new text.

I thought that formatting the parent “div” element covers the formatting of 
both quotes and the original text in one rule.  But if I am not mistaken, so 
does using “html-blob” now.

> I suppose if you like horizontal scrolling such as in some of Julio
> post.
> 
> I think you may like the results that pre-wrap provides much better.

It is a trade-off: “pre” preserves the original line-wrapping, which is 
important e.g. with source code, program output, log files and ASCII art; 
“pre-wrap” does not preserve it, but makes Google-Groups-posted postings 
with overlong lines containing prose, like that produced (probably 
unknowingly so) by Michael Haufe in this thread [1], readable without 
horizontal scrolling.

Unfortunately, it is not easily possible to tell prose apart 
programmatically.

<https://groups.google.com/g/comp.lang.javascript/c/eSOJwY7QKE4/m/CwW3KBsKAQAJ>
 
> One can still see Thomas's double spaces

JFYI: You have replied to my posting :)

> after the periods 

The same is true for “white-space: pre”.  The only difference between “pre” 
and “pre-wrap” is that also “Lines are broken […] as necessary to fill line 
boxes.”

<https://developer.mozilla.org/en-US/docs/Web/CSS/white-space>

> and no nasty horizontal scrolling for long lines.

True, but that can also bite you later.

In passing, I noticed that viewing the original source of any posting is no 
longer possible, too, because of “Either the e-mail adresses for this group 
are anonymous, or you need the permission to view the members’ e-mail 
addreses, to view the original message.” (translated from German) 
<facepalm/>

Ceterum censeo Google Groups esse substitutam.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-20 18:29 -0700
  Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 03:18 +0200
    Re: Fixing Google Groups Styling James Kirk <noneya.invalid@gmail.com> - 2021-05-21 23:59 -0400
      Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 20:29 +0200
  Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-22 13:59 +0200
    Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-22 08:42 -0700
      Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 20:32 +0200
        Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-22 12:01 -0700
          Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-24 01:34 +0200
            Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-24 10:23 -0700
            Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 22:21 +0200
          Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-22 23:37 +0200
  Re: Fixing Google Groups Styling Mostowski Collapse <janburse@fastmail.fm> - 2021-05-25 09:25 +0200
    Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-25 06:03 -0700
      Re: Fixing Google Groups Styling Mostowski Collapse <janburse@fastmail.fm> - 2021-05-25 18:36 +0200
  Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-05-23 23:31 -0700
    Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-11-11 15:21 -0800
      Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-11-11 15:26 -0800
        qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-11 15:41 -0800
          Re: qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-11 15:43 -0800
            Re: qapplaH (was Re: Fixing Google Groups Styling) denodster@gmail.com (Denodster) - 2021-11-12 00:15 -0500
              Re: qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-12 17:12 -0800
                Re: qapplaH (was Re: Fixing Google Groups Styling) The Natural Philosopher <tnp@invalid.invalid> - 2021-11-13 08:27 +0000
              [OT] tlhIngan Hol (was: qapplaH) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-01-19 07:56 +0100
            Re: qapplaH (was Re: Fixing Google Groups Styling) Tavis Ormandy <taviso@gmail.com> - 2021-11-12 23:49 +0000

csiph-web