apacheconfig icon indicating copy to clipboard operation
apacheconfig copied to clipboard

Option for closing brackets on the same line.

Open sydneyli opened this issue 6 years ago • 1 comments

Apache 2.2, which is the version of Apache on CentOS 6, sometimes allows syntax like:

<Block1>
<Block2>
</Block2> </Block1>

Where the final closing brackets are on the same line. @etingof, what do you think about enabling an option to support this? It seems to actually be a bug in Apache 2.2's parser, but we may have to support it (to prevent regressions) until CentOS 6 is EOL'ed.

sydneyli avatar Oct 01 '19 22:10 sydneyli

what do you think about enabling an option to support this

Makes sense to me!

I wonder, is having tags on different lines a requirement at all? Or is it about the nesting?

until CentOS 6 is EOL'ed.

Which is on 30.11.2020.

etingof avatar Oct 02 '19 07:10 etingof