docs: typo in launch-app-from-url-in-another-app.md (#30566)

* Typo in launch-app-from-url-in-another-app.md

Code snippet for the info.plist example had html formatting. Removed.

* Fix paddings

Co-authored-by: Cheng Zhao <github@zcbenz.com>
This commit is contained in:
Larry Kluger 2021-08-19 04:38:30 +03:00 committed by GitHub
parent ea889b423d
commit 11de995d38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,31 +127,25 @@ can add the flag `--extend-info` with a path to the `plist` you've created. The
### Plist ### Plist
```XML ```XML
<p> <?xml version="1.0" encoding="UTF-8"?>
<h5>macOS plist</h5> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<pre><code> <plist version="1.0">
<?xml version="1.0" encoding="UTF-8"?> <dict>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <key>CFBundleURLTypes</key>
<plist version="1.0"> <array>
<dict> <dict>
<key>CFBundleURLTypes</key> <key>CFBundleURLSchemes</key>
<array> <array>
<dict> <string>electron-api-demos</string>
<key>CFBundleURLSchemes</key> </array>
<array> <key>CFBundleURLName</key>
<string>electron-api-demos</string> <string>Electron API Demos Protocol</string>
</array> </dict>
<key>CFBundleURLName</key> </array>
<string>Electron API Demos Protocol</string> <key>ElectronTeamID</key>
</dict> <string>VEKTX9H2N7</string>
</array> </dict>
<key>ElectronTeamID</key> </plist>
<string>VEKTX9H2N7</string>
</dict>
</plist>
</code>
</pre>
<p>
``` ```
## Conclusion ## Conclusion