Skip to content

Commit

Permalink
fix: md linebreaks
Browse files Browse the repository at this point in the history
Signed-off-by: Amund Tenstad <[email protected]>
  • Loading branch information
tenstad authored and Amund Tenstad committed Aug 17, 2023
1 parent c573a3d commit d2dcdaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/markdown/type.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ _Appears in:_
{{ end -}}

{{ range $type.Members -}}
| `{{ .Name }}` _{{ markdownRenderType .Type }}_ | {{ template "type_members" . }} | {{ .Default }} | {{ range .Validation -}} {{ . }} <br>{{ end }} |
| `{{ .Name }}` _{{ markdownRenderType .Type }}_ | {{ template "type_members" . }} | {{ .Default }} | {{ range .Validation -}} {{ . }} <br />{{ end }} |
{{ end -}}

{{ end -}}
Expand Down
4 changes: 2 additions & 2 deletions test/expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ _Appears in:_
| `name` _string_ | Name of the guest (pipe | should be escaped) | | |
| `time` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#time-v1-meta)_ | Time of entry | | |
| `comment` _string_ | Comment by guest | | |
| `rating` _[Rating](#rating)_ | Rating is the rating provided by a guest. | | MaxLength: 1023 <br> |
| `rating` _[Rating](#rating)_ | Rating is the rating provided by a guest. | | MaxLength: 1023 <br /> |


#### GuestbookHeader
Expand Down Expand Up @@ -140,7 +140,7 @@ _Appears in:_

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `page` _[PositiveInt](#positiveint)_ | Page indicates the page number | 1 | Min: 1 <br> |
| `page` _[PositiveInt](#positiveint)_ | Page indicates the page number | 1 | Min: 1 <br /> |
| `entries` _[GuestbookEntry](#guestbookentry) array_ | Entries contain guest book entries for the page | | |
| `selector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#labelselector-v1-meta)_ | Selector selects something | | |
| `headers` _[GuestbookHeader](#guestbookheader) array_ | Headers contains a list of header items to include in the page | | |
Expand Down

0 comments on commit d2dcdaf

Please sign in to comment.