Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Render newlines in markdown fields #682

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

zebrapurring
Copy link
Contributor

What type of PR is this?

  • bug

What this PR does / why we need it:

Newlines are displayed when editing markdown fields, but not when rendering the markdown content. This PR keeps the displayed text consistent between both views.

Which issue(s) this PR fixes:

Fixes #681

Release Notes

Render newlines in markdown fields

@hay-kot hay-kot merged commit b918310 into hay-kot:main Dec 25, 2023
truecharts-admin referenced this pull request in truecharts/public Jan 8, 2024
…3@b1fbca6 by renovate (#16992)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/hay-kot/homebox](https://github.com/hay-kot/homebox) |
patch | `v0.10.2` -> `v0.10.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>hay-kot/homebox (ghcr.io/hay-kot/homebox)</summary>

###
[`v0.10.3`](https://github.com/hay-kot/homebox/releases/tag/v0.10.3)

[Compare
Source](https://github.com/hay-kot/homebox/compare/v0.10.2...v0.10.3)

#### Important Notes

- If you are having issues with authentication, logging-in, or
unexpected 404s clear your browser cache/cookies for the site.

#### What's Changed

- feat: set version flag by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/632](https://github.com/hay-kot/homebox/pull/632)
- Fix a bunch of grammar and spelling, rephrased some sentences to be
more readable by
[@&#8203;kevinholtkamp](https://github.com/kevinholtkamp) in
[https://github.com/hay-kot/homebox/pull/635](https://github.com/hay-kot/homebox/pull/635)
- chore(deps): update dependency mkdocs-material to v9.4.14 - autoclosed
by [@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/630](https://github.com/hay-kot/homebox/pull/630)
- chore(deps): update goreleaser/goreleaser-action action to v5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/626](https://github.com/hay-kot/homebox/pull/626)
- chore(deps): update docker/setup-qemu-action action to v3 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/625](https://github.com/hay-kot/homebox/pull/625)
- fix/feat: primary photo auto set and auto-set primary photo by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/651](https://github.com/hay-kot/homebox/pull/651)
- fix: loading causing stale data to present in form by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/650](https://github.com/hay-kot/homebox/pull/650)
- fix: ignore /api paths from service workers by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/649](https://github.com/hay-kot/homebox/pull/649)
- fix(deps): update module github.com/hay-kot/httpkit to v0.0.5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/643](https://github.com/hay-kot/homebox/pull/643)
- fix(deps): update module golang.org/x/crypto to v0.16.0 - autoclosed
by [@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/645](https://github.com/hay-kot/homebox/pull/645)
- fix(deps): update github.com/gocarina/gocsv digest to
[`b87c2d0`](https://github.com/hay-kot/homebox/commit/b87c2d0) by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/629](https://github.com/hay-kot/homebox/pull/629)
- chore(deps): update dependency mkdocs-material to v9.5.2 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/654](https://github.com/hay-kot/homebox/pull/654)
- chore(deps): update actions/setup-go action to v5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/653](https://github.com/hay-kot/homebox/pull/653)
- chore(deps): update dependency vitest to v1 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/652](https://github.com/hay-kot/homebox/pull/652)
- fix(deps): update dependency markdown-it to v14 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/655](https://github.com/hay-kot/homebox/pull/655)
- feat: extract auth into provider by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/663](https://github.com/hay-kot/homebox/pull/663)
- fix: ensure rows are closed by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/670](https://github.com/hay-kot/homebox/pull/670)
- feat: add log statements + remove auto redirect by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/671](https://github.com/hay-kot/homebox/pull/671)
- Render newlines in markdown fields by
[@&#8203;zebrapurring](https://github.com/zebrapurring) in
[https://github.com/hay-kot/homebox/pull/682](https://github.com/hay-kot/homebox/pull/682)
- fix: inaccurate 401 & sql busy error by
[@&#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/679](https://github.com/hay-kot/homebox/pull/679)

#### New Contributors

- [@&#8203;kevinholtkamp](https://github.com/kevinholtkamp) made their
first contribution in
[https://github.com/hay-kot/homebox/pull/635](https://github.com/hay-kot/homebox/pull/635)
- [@&#8203;zebrapurring](https://github.com/zebrapurring) made their
first contribution in
[https://github.com/hay-kot/homebox/pull/682](https://github.com/hay-kot/homebox/pull/682)

**Full Changelog**:
hay-kot/homebox@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjYuMiIsInVwZGF0ZWRJblZlciI6IjM3LjEyNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
hay-kot pushed a commit that referenced this pull request Jan 28, 2024
Co-authored-by: zebrapurring <>
Former-commit-id: b918310
GabrielBarzen referenced this pull request in GabrielBarzen/charts Feb 2, 2024
…3@b1fbca6 by renovate (truecharts#16992)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/hay-kot/homebox](https://github.com/hay-kot/homebox) |
patch | `v0.10.2` -> `v0.10.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>hay-kot/homebox (ghcr.io/hay-kot/homebox)</summary>

###
[`v0.10.3`](https://github.com/hay-kot/homebox/releases/tag/v0.10.3)

[Compare
Source](https://github.com/hay-kot/homebox/compare/v0.10.2...v0.10.3)

#### Important Notes

- If you are having issues with authentication, logging-in, or
unexpected 404s clear your browser cache/cookies for the site.

#### What's Changed

- feat: set version flag by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/632](https://github.com/hay-kot/homebox/pull/632)
- Fix a bunch of grammar and spelling, rephrased some sentences to be
more readable by
[@&truecharts#8203;kevinholtkamp](https://github.com/kevinholtkamp) in
[https://github.com/hay-kot/homebox/pull/635](https://github.com/hay-kot/homebox/pull/635)
- chore(deps): update dependency mkdocs-material to v9.4.14 - autoclosed
by [@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/630](https://github.com/hay-kot/homebox/pull/630)
- chore(deps): update goreleaser/goreleaser-action action to v5 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/626](https://github.com/hay-kot/homebox/pull/626)
- chore(deps): update docker/setup-qemu-action action to v3 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/625](https://github.com/hay-kot/homebox/pull/625)
- fix/feat: primary photo auto set and auto-set primary photo by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/651](https://github.com/hay-kot/homebox/pull/651)
- fix: loading causing stale data to present in form by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/650](https://github.com/hay-kot/homebox/pull/650)
- fix: ignore /api paths from service workers by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/649](https://github.com/hay-kot/homebox/pull/649)
- fix(deps): update module github.com/hay-kot/httpkit to v0.0.5 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/643](https://github.com/hay-kot/homebox/pull/643)
- fix(deps): update module golang.org/x/crypto to v0.16.0 - autoclosed
by [@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/645](https://github.com/hay-kot/homebox/pull/645)
- fix(deps): update github.com/gocarina/gocsv digest to
[`b87c2d0`](https://github.com/hay-kot/homebox/commit/b87c2d0) by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/629](https://github.com/hay-kot/homebox/pull/629)
- chore(deps): update dependency mkdocs-material to v9.5.2 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/654](https://github.com/hay-kot/homebox/pull/654)
- chore(deps): update actions/setup-go action to v5 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/653](https://github.com/hay-kot/homebox/pull/653)
- chore(deps): update dependency vitest to v1 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/652](https://github.com/hay-kot/homebox/pull/652)
- fix(deps): update dependency markdown-it to v14 by
[@&truecharts#8203;renovate](https://github.com/renovate) in
[https://github.com/hay-kot/homebox/pull/655](https://github.com/hay-kot/homebox/pull/655)
- feat: extract auth into provider by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/663](https://github.com/hay-kot/homebox/pull/663)
- fix: ensure rows are closed by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/670](https://github.com/hay-kot/homebox/pull/670)
- feat: add log statements + remove auto redirect by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/671](https://github.com/hay-kot/homebox/pull/671)
- Render newlines in markdown fields by
[@&truecharts#8203;zebrapurring](https://github.com/zebrapurring) in
[https://github.com/hay-kot/homebox/pull/682](https://github.com/hay-kot/homebox/pull/682)
- fix: inaccurate 401 & sql busy error by
[@&truecharts#8203;hay-kot](https://github.com/hay-kot) in
[https://github.com/hay-kot/homebox/pull/679](https://github.com/hay-kot/homebox/pull/679)

#### New Contributors

- [@&truecharts#8203;kevinholtkamp](https://github.com/kevinholtkamp) made their
first contribution in
[https://github.com/hay-kot/homebox/pull/635](https://github.com/hay-kot/homebox/pull/635)
- [@&truecharts#8203;zebrapurring](https://github.com/zebrapurring) made their
first contribution in
[https://github.com/hay-kot/homebox/pull/682](https://github.com/hay-kot/homebox/pull/682)

**Full Changelog**:
hay-kot/homebox@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjYuMiIsInVwZGF0ZWRJblZlciI6IjM3LjEyNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New lines not rendered in markdown fields
2 participants