From 020c1e77489b772f854bb3288b9c8d2818a6bf9d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 18 Apr 2025 02:17:12 -0300 Subject: git mv src/content/* src/content/en/ --- .../en/pastebins/2021/08/11/h1-spacing.adoc | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/content/en/pastebins/2021/08/11/h1-spacing.adoc (limited to 'src/content/en/pastebins/2021/08/11') diff --git a/src/content/en/pastebins/2021/08/11/h1-spacing.adoc b/src/content/en/pastebins/2021/08/11/h1-spacing.adoc new file mode 100644 index 0000000..38dbb2e --- /dev/null +++ b/src/content/en/pastebins/2021/08/11/h1-spacing.adoc @@ -0,0 +1,75 @@ += Spaces around h1 tags +:updatedat: 2021-08-15 + +_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: + +[source,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: + +[source,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