Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 12, 2025

Summary

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>.

Checklist

@susnux susnux added this to the Nextcloud 33 milestone Dec 12, 2025
@susnux susnux requested a review from a team as a code owner December 12, 2025 20:55
@susnux susnux requested review from nfebe, sorbaugh and szaimen and removed request for a team December 12, 2025 20:55
@susnux
Copy link
Contributor Author

susnux commented Dec 12, 2025

/backport to stable32

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.

🐘

This was referenced Jan 7, 2026
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]>
@susnux
Copy link
Contributor Author

susnux commented Jan 12, 2026

/compile

@susnux susnux force-pushed the fix/federated-vue branch from 9931315 to 29488d6 Compare January 12, 2026 09:46
@susnux
Copy link
Contributor Author

susnux commented Jan 12, 2026

/compile

Signed-off-by: nextcloud-command <[email protected]>
@Altahrim Altahrim disabled auto-merge January 12, 2026 14:11
@Altahrim Altahrim merged commit 89166cb into master Jan 12, 2026
144 of 153 checks passed
@Altahrim Altahrim deleted the fix/federated-vue branch January 12, 2026 14:11
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.

7 participants