Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix YAML parsing error in url_preview_accept_language (#12785)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 authored May 18, 2022
1 parent 19d79b6 commit 0fce474
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelog.d/12785.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix invalid YAML syntax in the example documentation for the `url_preview_accept_language` config option.
12 changes: 6 additions & 6 deletions docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1194,15 +1194,15 @@ For more information on using Synapse with Postgres,
see [here](../../postgres.md).

Example SQLite configuration:
```
```yaml
database:
name: sqlite3
args:
database: /path/to/homeserver.db
```

Example Postgres configuration:
```
```yaml
database:
name: psycopg2
txn_limit: 10000
Expand Down Expand Up @@ -1679,10 +1679,10 @@ Defaults to "en".
Example configuration:
```yaml
url_preview_accept_language:
- en-UK
- en-US;q=0.9
- fr;q=0.8
- *;q=0.7
- 'en-UK'
- 'en-US;q=0.9'
- 'fr;q=0.8'
- '*;q=0.7'
```
----
Config option: `oembed`
Expand Down

0 comments on commit 0fce474

Please sign in to comment.