Dnia 2015-06-06, o godz. 09:26:08
"Justin Lecher (jlec)" <j...@gentoo.org> napisał(a):

> Can we get an agreement on how we are indenting metadata.xml?
> 
> I like to properly format and indent metadata.xml, but without having
> an agreement or policy on the indention, I make unhappy by choosing
> the wrong.
> 
> The two options which are already suggested are
> 
> * 2 spaces
> * single tab
> 
> So what should it be?

A tab. With one-line element contents being inline, while multi-line in
deeper indented block, i.e.:

...><maintainer>
...>...><name>Foo Bar</name>
...>...><email>b...@example.com</email>
...></maintainer>
...><longdescription>
...>...>Some random text. Possibly spanning multiple lines.
...>...>Like this.
...></longdescription>


-- 
Best regards,
Michał Górny

Attachment: pgp9WMbSMZ8xb.pgp
Description: OpenPGP digital signature

Reply via email to