Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 12, 2026

Backport of #57054

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Fix the problem reported:

> [plugin vite:vue] apps/federatedfilesharing/src/components/PersonalSettings.vue: <pre> cannot be child of <p>, according to HTML specifications.

> This can cause hydration errors or potentially disrupt future functionality.

`p` only allows inline elements, but pre is none.

We either need to use `div` instead of `p` or `code` instead of `pre`.

But in this case we want a block of code, so we use `div` and inner

`<pre><code>`.

Signed-off-by: Ferdinand Thiessen <[email protected]>

[skip ci]
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@susnux
Copy link
Contributor

susnux commented Jan 12, 2026

/compile

@susnux susnux marked this pull request as ready for review January 12, 2026 14:24
@susnux susnux requested a review from a team as a code owner January 12, 2026 14:24
@susnux susnux requested review from artonge, nfebe and sorbaugh and removed request for a team January 12, 2026 14:24
Signed-off-by: nextcloud-command <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants