Skip to content

Commit 5d845e9

Browse files
authored
(chore): remove <br /> elements (#2030)
1 parent dd8f823 commit 5d845e9

18 files changed

+36
-36
lines changed

docs/_partials/clerk-middleware-options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `clerkMiddleware()` function accepts an optional object. The following optio
1111
- `authorizedParties?`
1212
- `string[]`
1313

14-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
14+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
1515

1616
---
1717

docs/_partials/root-auth-loader.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `rootAuthLoader()` function accepts an optional object. The following option
1111
- `authorizedParties?`
1212
- `string[]`
1313

14-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
14+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
1515

1616
---
1717

docs/backend-requests/handling/nodejs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ These options can be used with both [`ClerkExpressWithAuth`](#clerk-express-with
172172
- `authorizedParties?`
173173
- `string[]`
174174

175-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
175+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
176176

177177
---
178178

docs/components/authentication/sign-in.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ All props are optional.
2525
- `routing`
2626
- `'hash' | 'path'`
2727

28-
The [routing](/docs/how-clerk-works/routing) strategy for your pages.<br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
28+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
2929

3030
---
3131

3232
- `path`
3333
- `string`
3434

35-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/sign-in`.
35+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-in`.
3636

3737
---
3838

3939
- `signUpUrl`
4040
- `string`
4141

42-
Used for the 'Sign Up' link that's rendered.<br />The full URL or path to the sign-up page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
42+
Used for the 'Sign Up' link that's rendered. The full URL or path to the sign-up page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
4343

4444
---
4545

@@ -60,14 +60,14 @@ All props are optional.
6060
- `signUpForceRedirectUrl?`
6161
- `string`
6262

63-
Used for the 'Sign Up' link that's rendered.<br />If provided, this URL will always used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
63+
Used for the 'Sign Up' link that's rendered. If provided, this URL will always used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
6464

6565
---
6666

6767
- `signUpFallbackRedirectUrl?`
6868
- `string`
6969

70-
Used for the 'Sign Up' link that's rendered.<br />The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
70+
Used for the 'Sign Up' link that's rendered. The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
7171

7272
---
7373

docs/components/authentication/sign-up.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ All props are optional.
2525
- `routing`
2626
- `'hash' | 'path'`
2727

28-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
28+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
2929

3030
---
3131

3232
- `path`
3333
- `string`
3434

35-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/sign-up`.
35+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-up`.
3636

3737
---
3838

3939
- `signInUrl`
4040
- `string`
4141

42-
Used for the 'Sign In' link that's rendered.<br />The full URL or path to the sign-in page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
42+
Used for the 'Sign In' link that's rendered. The full URL or path to the sign-in page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
4343

4444
---
4545

@@ -60,14 +60,14 @@ All props are optional.
6060
- `signInForceRedirectUrl?`
6161
- `string`
6262

63-
Used for the 'Sign In' link that's rendered.<br />If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
63+
Used for the 'Sign In' link that's rendered. If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
6464

6565
---
6666

6767
- `signInFallbackRedirectUrl?`
6868
- `string`
6969

70-
Used for the 'Sign In' link that's rendered.<br />The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
70+
Used for the 'Sign In' link that's rendered. The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
7171

7272
---
7373

docs/components/organization/create-organization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ All props are optional.
2929
- `routing`
3030
- `'hash' | 'path'`
3131

32-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
32+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
3333

3434
---
3535

3636
- `path`
3737
- `string`
3838

39-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/create-organization`.
39+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/create-organization`.
4040

4141
---
4242

docs/components/organization/organization-list.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ All props are optional.
1515
- `hidePersonal`
1616
- `boolean`
1717

18-
By default, users can switch between organization and their personal account. This option controls whether `<OrganizationList />` will include the user's personal account in the organization list. Setting this to `false` will hide the personal account entry, and users will only be able to switch between organizations. <br />Defaults to `false`.
18+
By default, users can switch between organization and their personal account. This option controls whether `<OrganizationList />` will include the user's personal account in the organization list. Setting this to `false` will hide the personal account entry, and users will only be able to switch between organizations. Defaults to `false`.
1919

2020
---
2121

2222
- `skipInvitationScreen`
2323
- `boolean | undefined`
2424

25-
Hides the screen for sending invitations after an organization is created. When left undefined Clerk will automatically hide the screen if the number of max allowed members is equal to 1.<br />Defaults to `false`.
25+
Hides the screen for sending invitations after an organization is created. When left undefined Clerk will automatically hide the screen if the number of max allowed members is equal to 1. Defaults to `false`.
2626

2727
---
2828

@@ -43,14 +43,14 @@ All props are optional.
4343
- `afterSelectOrganizationUrl`
4444
- <code>((org: [Organization][org-ref]) => string) | string</code>
4545

46-
Full URL or path to navigate to after selecting an organization.<br />Defaults to `undefined`.
46+
Full URL or path to navigate to after selecting an organization. Defaults to `undefined`.
4747

4848
---
4949

5050
- `afterSelectPersonalUrl`
5151
- <code>((org: [Organization][org-ref]) => string) | string</code>
5252

53-
Full URL or path to navigate to after selecting the personal account.<br />Defaults to `undefined`.
53+
Full URL or path to navigate to after selecting the personal account. Defaults to `undefined`.
5454

5555
---
5656

docs/components/organization/organization-profile.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ All props are optional.
3333
- `routing`
3434
- `'hash' | 'path'`
3535

36-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
36+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
3737

3838
---
3939

4040
- `path`
4141
- `string`
4242

43-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/organization-profile`.
43+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/organization-profile`.
4444

4545
---
4646

docs/components/organization/organization-switcher.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ All props below are optional.
4747
- `createOrganizationMode`
4848
- `'modal' | 'navigation'`
4949

50-
Controls whether clicking the "Create organization" button will cause the [`<CreateOrganization />`][createorg-ref] component to open as a modal, or if the browser will navigate to the `createOrganizationUrl` where `<CreateOrganization />` is mounted as a page.<br />Defaults to: `'modal'`.
50+
Controls whether clicking the "Create organization" button will cause the [`<CreateOrganization />`][createorg-ref] component to open as a modal, or if the browser will navigate to the `createOrganizationUrl` where `<CreateOrganization />` is mounted as a page. Defaults to: `'modal'`.
5151

5252
---
5353

5454
- `organizationProfileMode`
5555
- `'modal' | 'navigation'`
5656

57-
Controls whether clicking the **Manage organization** button will cause the [`<OrganizationProfile />`][orgprofile-ref] component to open as a modal, or if the browser will navigate to the `organizationProfileUrl` where `<OrganizationProfile />` is mounted as a page.<br />Defaults to: `'modal'`.
57+
Controls whether clicking the **Manage organization** button will cause the [`<OrganizationProfile />`][orgprofile-ref] component to open as a modal, or if the browser will navigate to the `organizationProfileUrl` where `<OrganizationProfile />` is mounted as a page. Defaults to: `'modal'`.
5858

5959
---
6060

@@ -75,7 +75,7 @@ All props below are optional.
7575
- `hidePersonal`
7676
- `boolean`
7777

78-
By default, users can switch between organizations and their personal workspace. This option controls whether `<OrganizationSwitcher />` will include the user's personal workspace in the organization list. Setting this to `true` will hide the personal workspace entry, and allow users to switch only between organizations.<br />Defaults to: `false`.
78+
By default, users can switch between organizations and their personal workspace. This option controls whether `<OrganizationSwitcher />` will include the user's personal workspace in the organization list. Setting this to `true` will hide the personal workspace entry, and allow users to switch only between organizations. Defaults to: `false`.
7979

8080
---
8181

@@ -89,7 +89,7 @@ All props below are optional.
8989
- `organizationProfileProps`
9090
- `object`
9191

92-
Specify options for the underlying [`<OrganizationProfile />`][orgprofile-ref] component.<br />For example: `{appearance: {...}}`
92+
Specify options for the underlying [`<OrganizationProfile />`][orgprofile-ref] component. For example: `{appearance: {...}}`
9393

9494
---
9595

docs/components/unstyled/sign-in-button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `<SignInButton>` component is a button that links to the sign-in page or dis
4646
- `mode?`
4747
- `'redirect' | 'modal'`
4848

49-
Determines what happens when a user clicks on the `<SignInButton>`. Setting this to `'redirect'` will redirect the user to the sign-in route. Setting this to `'modal'` will open a modal on the current route.<br />Defaults to `'redirect'`.
49+
Determines what happens when a user clicks on the `<SignInButton>`. Setting this to `'redirect'` will redirect the user to the sign-in route. Setting this to `'modal'` will open a modal on the current route. Defaults to `'redirect'`.
5050

5151
---
5252

docs/components/unstyled/sign-up-button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `<SignUpButton>` component is a button that links to the sign-up page or dis
4646
- `mode?`
4747
- `'redirect' | 'modal'`
4848

49-
Determines what happens when a user clicks on the `<SignUpButton>`. Setting this to `'redirect'` will redirect the user to the sign-up route. Setting this to `'modal'` will open a modal on the current route.<br />Defaults to `'redirect'`
49+
Determines what happens when a user clicks on the `<SignUpButton>`. Setting this to `'redirect'` will redirect the user to the sign-up route. Setting this to `'modal'` will open a modal on the current route. Defaults to `'redirect'`
5050

5151
---
5252

docs/components/user/user-profile.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ All props are optional.
2222
- `routing`
2323
- `'hash' | 'path'`
2424

25-
The [routing](/docs/how-clerk-works/routing) strategy for your pages.<br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
25+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
2626

2727
---
2828

2929
- `path`
3030
- `string`
3131

32-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/user-profile`.
32+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/user-profile`.
3333

3434
---
3535

3636
- `additionalOAuthScopes`
3737
- `object`
3838

39-
Specify additional scopes per OAuth provider that your users would like to provide if not already approved. <br />For example: `{google: ['foo', 'bar'], github: ['qux']}`.
39+
Specify additional scopes per OAuth provider that your users would like to provide if not already approved. For example: `{google: ['foo', 'bar'], github: ['qux']}`.
4040

4141
---
4242

docs/deployments/clerk-cookies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These cookies:
1616
| Cookie Subgroup | Cookies | More Information |
1717
| - | - | - |
1818
| .clerk.com | `__session`, `__client_uat` | First party |
19-
| .clerk.com, .dashboard.clerk.com (cloudflare) | `_cfuvid` | Third party<br />[Cloudflare Cookies](https://developers.cloudflare.com/fundamentals/reference/policies-compliances/cloudflare-cookies/) |
19+
| .clerk.com, .dashboard.clerk.com (cloudflare) | `_cfuvid` | Third party [Cloudflare Cookies](https://developers.cloudflare.com/fundamentals/reference/policies-compliances/cloudflare-cookies/) |
2020

2121
> [!WARNING]
2222
> You should seek legal advice before using this information to craft your privacy policy.

docs/organizations/inviting-users.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ This guide will demonstrate how to use the Clerk API to build a custom flow for
258258
<form id="new_invitation">
259259
<div>
260260
<label>Email address</label>
261-
<br />
261+
262262
<input type="email" id="email_address" name="email_address" />
263263
</div>
264264
<button>Invite</button>

docs/references/backend/authenticate-request.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ It is recommended to set these options as [environment variables](/docs/deployme
120120
- `authorizedParties?`
121121
- `string[]`
122122

123-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
123+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
124124

125125
---
126126

docs/references/backend/sessions/get-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getToken(sessionId: string, template: string): Promise<Token>
2424
- `template`
2525
- `string`
2626

27-
The name of the JWT template from the [Clerk Dashboard](https://dashboard.clerk.com/last-active?path=jwt-templates) to generate a new token from.<br />For example: 'firebase', 'grafbase', or your custom template's name.
27+
The name of the JWT template from the [Clerk Dashboard](https://dashboard.clerk.com/last-active?path=jwt-templates) to generate a new token from. For example: 'firebase', 'grafbase', or your custom template's name.
2828
</Properties>
2929

3030
## Example

docs/references/backend/types/backend-user.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ The Backend `User` object is similar to the `User` object as it holds informatio
186186
- `externalAccounts`
187187
- [`ExternalAccount[]`][exacc-ref]
188188

189-
An array of all the `ExternalAccount` objects associated with the user via OAuth.<br />**Note**: This includes both verified & unverified external accounts.
189+
An array of all the `ExternalAccount` objects associated with the user via OAuth. **Note**: This includes both verified & unverified external accounts.
190190

191191
---
192192

docs/references/ios/get-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func getToken(
3030
- `template`
3131
- `String?`
3232

33-
The name of the JWT template from the [Clerk Dashboard](https://dashboard.clerk.com/last-active?path=jwt-templates) to generate a new token from.<br />For example: 'firebase', 'grafbase', or your custom template's name.
33+
The name of the JWT template from the [Clerk Dashboard](https://dashboard.clerk.com/last-active?path=jwt-templates) to generate a new token from. For example: 'firebase', 'grafbase', or your custom template's name.
3434

3535
---
3636

0 commit comments

Comments
 (0)