aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-25 12:29:56 -0700
committerGitHub <noreply@github.com>2023-06-25 12:29:56 -0700
commit957d05d16bc80cef14c2e9fe31b6b847e698f9d1 (patch)
tree9c938a0fed12ecb7565dd54c59c6d7c171cfd608 /runtime
parent5ceb2238d3685255cd517ca87fd7edae9ed88811 (diff)
downloadrneovim-957d05d16bc80cef14c2e9fe31b6b847e698f9d1.tar.gz
rneovim-957d05d16bc80cef14c2e9fe31b6b847e698f9d1.tar.bz2
rneovim-957d05d16bc80cef14c2e9fe31b6b847e698f9d1.zip
fix(docs): too much whitespace around <pre> blocks #24151
Problem: In the generated docs HTML there is too much whitespace before/after `<pre>` blocks. - In the old layout (fixed-width), all text in `.old-help-para` is formatted as `white-space:pre`. - In the new layout, when `<pre>` is at the end of a `<div>`, the margins of both are redundant, causing too much space. Solution: - In the old layout, always remove `<pre>` margin. - In the new layout, disable `<pre>` margin if it is the last child.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 3a3d939cd7..f9ab494a3e 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2015,7 +2015,7 @@ Buffer Functions *api-buffer*
For more information on buffers, see |buffers|.
-Unloaded Buffers:~
+Unloaded Buffers: ~
Buffers may be unloaded by the |:bunload| command or the buffer's
|'bufhidden'| option. When a buffer is unloaded its file contents are