Skip to content

Commit

Permalink
Revert "added linebreak before .TE (table end)"
Browse files Browse the repository at this point in the history
This reverts commit 1fc61ec.

This change resulted in additional empty rows to be rendered in tables;

Before this revert:

       The operator can identify a container in three ways:

       ┌──────────────────────┬────────────────────────────────────────────────────────────────────┐
       │Identifier type       │ Example value                                                      │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │UUID long identifier  │ "f78375b1c487e03c9438c729345e54db9d20cfa2ac1fc3494b6eb60872e74778" │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │UUID short identifier │ "f78375b1c487"                                                     │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │Name                  │ "evil_ptolemy"                                                     │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │                      │                                                                    │
       └──────────────────────┴────────────────────────────────────────────────────────────────────┘

       The UUID identifiers come from the Docker daemon, and if a name is not

After this revert:

       The operator can identify a container in three ways:

       ┌──────────────────────┬────────────────────────────────────────────────────────────────────┐
       │Identifier type       │ Example value                                                      │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │UUID long identifier  │ "f78375b1c487e03c9438c729345e54db9d20cfa2ac1fc3494b6eb60872e74778" │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │UUID short identifier │ "f78375b1c487"                                                     │
       ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
       │Name                  │ "evil_ptolemy"                                                     │
       └──────────────────────┴────────────────────────────────────────────────────────────────────┘

       The UUID identifiers come from the Docker daemon, and if a name is not

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jul 13, 2021
1 parent 2d04436 commit 9654f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion md2man/roff.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const (
dtTag = "\n.TP\n"
dd2Tag = "\n"
tableStart = "\n.TS\nallbox;\n"
tableEnd = "\n.TE\n"
tableEnd = ".TE\n"
tableCellStart = "T{\n"
tableCellEnd = "\nT}\n"
)
Expand Down

0 comments on commit 9654f2a

Please sign in to comment.