-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Currently, the plug-in enforces a space before the closing slash in empty elements when xmlSelfClosingTags is true, normalizing <foo></foo> and <foo/> to <foo />.
Some projects prefer the tighter <foo/> syntax, so if an option already exists to configure empty tag handling, perhaps a third value could be added to support this convention, like:
true(no space) –<foo/>false–<foo></foo>space(current behavior) –<foo />
If so, this setting could also be applied to the XML declaration, to permit
<?xml version="1.0" encoding="UTF-8"?>instead of rewriting to insert an extra space before the closing ?> as noted in #3:
<?xml version="1.0" encoding="UTF-8" ?>Metadata
Metadata
Assignees
Labels
No labels