Fossil SCM

Found and fixed yet another exception to the many [mis]uses of blockquote tags…

wyoung 2024-01-28 22:11 inskinerator-modern-backport
Commit 11805fcf538ad021b48c591a3ff7e785d93870520a4169c7dbfe593d2bc954b3
1 file changed +4 -3
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -490,16 +490,17 @@
490490
div.pikchr-wrapper.center:not(.source) {
491491
margin-left: 0;
492492
}
493493
494494
/* Special treatment for backward compatibility. */
495
- .artifact > .content > blockquote,
495
+ .artifact > .content > blockquote:not(.file-content),
496496
.dir > .content > blockquote,
497497
.doc > .content > blockquote {
498
- /* We must apply ex> tra indent relative to "p" since Fossil's wiki
498
+ /* We must apply extra indent relative to "p" since Fossil's wiki
499499
* generator misuses the blockquote tag against HTML and MD norms
500
- * to mean "indented paragraph." */
500
+ * to mean "indented paragraph." Skip it for file content retrieved
501
+ * by /dir URLs. */
501502
margin-left: 80pt;
502503
}
503504
.artifact > .content > .markdown > blockquote,
504505
.dir > .content > .markdown > blockquote,
505506
.doc > .content > .markdown > blockquote {
506507
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -490,16 +490,17 @@
490 div.pikchr-wrapper.center:not(.source) {
491 margin-left: 0;
492 }
493
494 /* Special treatment for backward compatibility. */
495 .artifact > .content > blockquote,
496 .dir > .content > blockquote,
497 .doc > .content > blockquote {
498 /* We must apply ex> tra indent relative to "p" since Fossil's wiki
499 * generator misuses the blockquote tag against HTML and MD norms
500 * to mean "indented paragraph." */
 
501 margin-left: 80pt;
502 }
503 .artifact > .content > .markdown > blockquote,
504 .dir > .content > .markdown > blockquote,
505 .doc > .content > .markdown > blockquote {
506
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -490,16 +490,17 @@
490 div.pikchr-wrapper.center:not(.source) {
491 margin-left: 0;
492 }
493
494 /* Special treatment for backward compatibility. */
495 .artifact > .content > blockquote:not(.file-content),
496 .dir > .content > blockquote,
497 .doc > .content > blockquote {
498 /* We must apply extra indent relative to "p" since Fossil's wiki
499 * generator misuses the blockquote tag against HTML and MD norms
500 * to mean "indented paragraph." Skip it for file content retrieved
501 * by /dir URLs. */
502 margin-left: 80pt;
503 }
504 .artifact > .content > .markdown > blockquote,
505 .dir > .content > .markdown > blockquote,
506 .doc > .content > .markdown > blockquote {
507

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button