Merge pull request #238 from nhooyr/trailing-e8d3

Fix trailing whitespace
This commit is contained in:
Anmol Sethi 2022-11-28 18:18:55 -05:00 committed by GitHub
commit 94bd3683b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View file

@ -9,8 +9,8 @@
.Op Fl -watch Ar false
.Op Fl -theme Em 0
.Ar file.d2
.Op Ar file.svg
|
.Op Ar file.svg
|
.Op Ar file.png
.Nm d2
.Op Fl -watch Ar false

View file

@ -158,17 +158,17 @@ meow.(x -> y -> z)[3].shape: "all hail corn"
{
name: "errs",
text: `
--: meow]]]
meow][: ok
ok: "dmsadmakls" dsamkldkmsa
s.shape: orochimaru
x.shape: dasdasdas
--: meow]]] ` + `
meow][: ok ` + `
ok: "dmsadmakls" dsamkldkmsa ` + `
` + `
s.shape: orochimaru ` + `
x.shape: dasdasdas ` + `
wow:
:
: ` + `
` + `
[]
{}
@ -214,7 +214,7 @@ meow
{
name: "trailing_whitespace",
text: `
s.shape: orochimaru
s.shape: orochimaru ` + `
`,
},
{
@ -334,16 +334,16 @@ a: | hello |
name: "block_trailing_space",
text: `
x: |
meow
meow ` + `
|
""" hello
""" hello ` + `
"""
`,
},
{
name: "block_edge_case",
text: `
x: | meow
x: | meow ` + `
hello
yes
|

View file

@ -932,7 +932,7 @@ x -> y: {
script: `
markdown: {
md: |md
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
Lorem ipsum dolor sit amet, consectetur adipiscing elit, ` + `
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
}