Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit 9c4a078

Browse files
committed
Fixed wrong escaping option name
1 parent 4b8029f commit 9c4a078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Change `kirby-highlight` options to suit your needs:
4747
| Option | Type | Default | Description |
4848
| --- | --- | --- | --- |
4949
| `plugin.kirby-highlight.languages` | Array | `['html', 'php']` | Defines languages to be auto-detected (currently [141 languages](https://github.com/S1SYPHOS/kirby-highlight/tree/master/vendor/scrivo/highlight.php/Highlight/languages) are supported). |
50-
| `plugin.kirby-highlight.languages` | Boolean | `false` | Enables character escaping (eg, converts `<` (less than) to `&lt;`, `>` (greater than) to `&gt;`, see `htmlspecialchars` [docs](http://php.net/manual/en/function.htmlspecialchars.php). |
50+
| `plugin.kirby-highlight.escaping` | Boolean | `false` | Enables character escaping (converting `<` to `&lt;`, `>` to `&gt;`, ..), see `htmlspecialchars()` [docs](http://php.net/manual/en/function.htmlspecialchars.php). |
5151

5252
## Styling
5353
Since `kirby-highlight` outputs the same markup like `highlight.js`, all styles created for the latter are suitable as well. To apply one of the many available stylesheets, just include it in your `<head>` element using the `css()` helper:

0 commit comments

Comments
 (0)