From 960e4410f76801356ebd42801c914b2910a302a7 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 18 Nov 2024 08:21:58 -0300 Subject: v0 migration to mkwb --- src/content/pastebins/2021/08/11/h1-spacing.adoc | 96 ++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 src/content/pastebins/2021/08/11/h1-spacing.adoc (limited to 'src/content/pastebins/2021/08/11/h1-spacing.adoc') diff --git a/src/content/pastebins/2021/08/11/h1-spacing.adoc b/src/content/pastebins/2021/08/11/h1-spacing.adoc new file mode 100644 index 0000000..9a00ece --- /dev/null +++ b/src/content/pastebins/2021/08/11/h1-spacing.adoc @@ -0,0 +1,96 @@ +--- + +title: Spaces around h1 tags + +date: 2021-08-11 + +updated_at: 2021-08-15 + +layout: post + +lang: en + +ref: spaces-around-h1-tags + +--- + +*EDIT*: Apparently, the behaviour below is consistent between Firefox and +Chromium for links, but not for `

`. +My conclusion is that the `

` behaviour is a Firefox quirk, but the `` is +expected. + +--- + +The HTML below has selectable extra spaces after `

` tags: + +```html + + + + + + Spaces around h1 tags + + +
+

+ With spaces around when selecting this heading +

+

Without spaces around

+

+ Is this expected behaviour? +

+
+ + +``` + +The rendered output is: + +

+ With spaces around when selecting this heading +

+

Without spaces around

+

+ Is this expected behaviour? +

+ +--- + +The same with links: + +```html + + + + + + Spaces after a tags + + +
+

+ + With extra underlined space + +

+

+ Without extra underlined space +

+
+ + +``` + +The rendered output is: + +

+ + With extra underlined space + + after the link. +

+

+ Without extra underlined space + after the link. +

-- cgit v1.2.3