CSS: increase spacing before and after <blockquote> #5409
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
example: https://fsfe.org/news/2025/news-20251015-01.en.html
looks like this:
https://git.fsfe.org/FSFE/fsfe-website/src/branch/master/fsfe.org/news/2025/news-20251015-01.en.xhtml
@dario
instead, the CSS for the blockquote should be changed, but then all these occurrences need to be changed too
Yes, this seems like a problem to be solved in CSS. We have a bad habit of (ab) using HTML features like this, or of using inline CSS for this kind of issue, see #2736.
But this should be solved in the look/ less files.
ok this is not needed, block quotes have good distancing.
likely some conversion tool produced weird results?
Are the files in question generated using first a libre office doc (.odt), and then converted to HTML?
I wonder if it inserts a
<p>for every newline in the source doc or something.Or this may just be a case of someone doing it once, and it being copied to every new file. There are many such cases with CSS attributes and similar across the website, especially in the news section.
At least in Firefox the empty
<p></p>seems to be removed/collapsed while rendering. When I remove the two empty paragraphs from the HTML code, the displayed page did not change at all.FIrstly, some more info on empty paragraps in html:
TLDR: empty paragraphs are valid html, but should not be displayed by browsers, and are bad for accessibility.
We could
So, I have both check and format pre-commit hooks implemented in #5431 , I like the format hook except
xsltprocmakes a few changes, seemingly unavoidably, that result in a diff of+79124 -126340Should this be closed, as we have merged #5431?