Skip to content

Commit ff717d4

Browse files
chore: cleanup inline HTML in docs (electron#26392)
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
1 parent 51bced4 commit ff717d4

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

docs/api/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ systems Application folder. Use in combination with `app.moveToApplicationsFolde
13411341
### `app.moveToApplicationsFolder([options])` _macOS_
13421342

13431343
* `options` Object (optional)
1344-
* `conflictHandler` Function<Boolean> (optional) - A handler for potential conflict in move failure.
1344+
* `conflictHandler` Function\<Boolean> (optional) - A handler for potential conflict in move failure.
13451345
* `conflictType` String - The type of move conflict encountered by the handler; can be `exists` or `existsAndRunning`, where `exists` means that an app of the same name is present in the Applications directory and `existsAndRunning` means both that it exists and that it's presently running.
13461346

13471347
Returns `Boolean` - Whether the move was successful. Please note that if

docs/api/ipc-main.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Removes listeners of the specified `channel`.
9191
### `ipcMain.handle(channel, listener)`
9292

9393
* `channel` String
94-
* `listener` Function<Promise<void> | any>
94+
* `listener` Function<Promise\<void> | any>
9595
* `event` IpcMainInvokeEvent
9696
* `...args` any[]
9797

@@ -123,7 +123,7 @@ WebContents is the source of the invoke request.
123123
### `ipcMain.handleOnce(channel, listener)`
124124

125125
* `channel` String
126-
* `listener` Function<Promise<void> | any>
126+
* `listener` Function<Promise\<void> | any>
127127
* `event` IpcMainInvokeEvent
128128
* `...args` any[]
129129

docs/api/session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ session.fromPartition('some-partition').setPermissionRequestHandler((webContents
385385

386386
#### `ses.setPermissionCheckHandler(handler)`
387387

388-
* `handler` Function<Boolean> | null
388+
* `handler` Function\<Boolean> | null
389389
* `webContents` [WebContents](web-contents.md) - WebContents checking the permission. Please note that if the request comes from a subframe you should use `requestingUrl` to check the request origin.
390390
* `permission` String - Enum of 'media'.
391391
* `requestingOrigin` String - The origin URL of the permission check

docs/development/build-instructions-gn.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ $ gn gen out/Testing-x86 --args='... target_cpu = "x86"'
177177

178178
Not all combinations of source and target CPU/OS are supported by Chromium.
179179

180-
<table>
181-
<tr><th>Host</th><th>Target</th><th>Status</th></tr>
182-
<tr><td>Windows x64</td><td>Windows arm64</td><td>Experimental</td>
183-
<tr><td>Windows x64</td><td>Windows x86</td><td>Automatically tested</td></tr>
184-
<tr><td>Linux x64</td><td>Linux x86</td><td>Automatically tested</td></tr>
185-
</table>
180+
| Host | Target | Status |
181+
|-------------|---------------|----------------------|
182+
| Windows x64 | Windows arm64 | Experimental |
183+
| Windows x64 | Windows x86 | Automatically tested |
184+
| Linux x64 | Linux x86 | Automatically tested |
185+
186186

187187
If you test other combinations and find them to work, please update this document :)
188188

docs/development/setting-up-symbol-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ SRV*c:\code\symbols\*https://msdl.microsoft.com/download/symbols;SRV*c:\code\sym
4343

4444
## Using the symbol server in Visual Studio
4545

46-
<img src='https://mdn.mozillademos.org/files/733/symbol-server-vc8express-menu.jpg'>
47-
<img src='https://mdn.mozillademos.org/files/2497/2005_options.gif'>
46+
![Tools -> Options](https://mdn.mozillademos.org/files/733/symbol-server-vc8express-menu.jpg)
47+
![Symbols Settings](https://mdn.mozillademos.org/files/2497/2005_options.gif)
4848

4949
## Troubleshooting: Symbols will not load
5050

0 commit comments

Comments
 (0)