Skip to content

Commit 62106b5

Browse files
committed
Restore xmlSelfClosingSpace description in README
The xmlSelfClosingSpace option was removed in e80e5ab for prettier#232, and later restored in 6b84c49 for prettier#300, but that commit did not restore the entry in the https://github.com/prettier/plugin-xml#configuration table of the README.
1 parent bd694ff commit 62106b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Below are the options (from [`src/plugin.ts`](src/plugin.ts)) that `@prettier/pl
5151
| `bracketSameLine` | `--bracket-same-line` | `true` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#bracket-same-line)) |
5252
| `printWidth` | `--print-width` | `80` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)). |
5353
| `tabWidth` | `--tab-width` | `2` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tab-width)). |
54+
| `xmlSelfClosingSpace` | `--xml-self-closing-space` | `true` | Adds a space before self-closing tags. |
5455
| `xmlWhitespaceSensitivity` | `--xml-whitespace-sensitivity` | `"strict"` | Options are `"strict"` and `"ignore"`. You may want `"ignore"`, [see below](#whitespace). |
5556

5657
Any of these can be added to your existing [prettier configuration

0 commit comments

Comments
 (0)