Skip to content
Snippets Groups Projects
Unverified Commit 0fce474a authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Fix YAML parsing error in `url_preview_accept_language` (#12785)

parent 19d79b6e
No related branches found
No related tags found
No related merge requests found
Fix invalid YAML syntax in the example documentation for the `url_preview_accept_language` config option.
...@@ -1194,7 +1194,7 @@ For more information on using Synapse with Postgres, ...@@ -1194,7 +1194,7 @@ For more information on using Synapse with Postgres,
see [here](../../postgres.md). see [here](../../postgres.md).
Example SQLite configuration: Example SQLite configuration:
``` ```yaml
database: database:
name: sqlite3 name: sqlite3
args: args:
...@@ -1202,7 +1202,7 @@ database: ...@@ -1202,7 +1202,7 @@ database:
``` ```
Example Postgres configuration: Example Postgres configuration:
``` ```yaml
database: database:
name: psycopg2 name: psycopg2
txn_limit: 10000 txn_limit: 10000
...@@ -1679,10 +1679,10 @@ Defaults to "en". ...@@ -1679,10 +1679,10 @@ Defaults to "en".
Example configuration: Example configuration:
```yaml ```yaml
url_preview_accept_language: url_preview_accept_language:
- en-UK - 'en-UK'
- en-US;q=0.9 - 'en-US;q=0.9'
- fr;q=0.8 - 'fr;q=0.8'
- *;q=0.7 - '*;q=0.7'
``` ```
---- ----
Config option: `oembed` Config option: `oembed`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment