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

Commit 0fce474

Browse files
Fix YAML parsing error in url_preview_accept_language (#12785)
1 parent 19d79b6 commit 0fce474

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

changelog.d/12785.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix invalid YAML syntax in the example documentation for the `url_preview_accept_language` config option.

docs/usage/configuration/config_documentation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,15 +1194,15 @@ For more information on using Synapse with Postgres,
11941194
see [here](../../postgres.md).
11951195

11961196
Example SQLite configuration:
1197-
```
1197+
```yaml
11981198
database:
11991199
name: sqlite3
12001200
args:
12011201
database: /path/to/homeserver.db
12021202
```
12031203

12041204
Example Postgres configuration:
1205-
```
1205+
```yaml
12061206
database:
12071207
name: psycopg2
12081208
txn_limit: 10000
@@ -1679,10 +1679,10 @@ Defaults to "en".
16791679
Example configuration:
16801680
```yaml
16811681
url_preview_accept_language:
1682-
- en-UK
1683-
- en-US;q=0.9
1684-
- fr;q=0.8
1685-
- *;q=0.7
1682+
- 'en-UK'
1683+
- 'en-US;q=0.9'
1684+
- 'fr;q=0.8'
1685+
- '*;q=0.7'
16861686
```
16871687
----
16881688
Config option: `oembed`

0 commit comments

Comments
 (0)