odf2xhtml (and other xslt filters) - tabs or spaces?

Stephan Bergmann sbergman at redhat.com
Wed Sep 6 14:41:15 UTC 2017


On 09/06/2017 04:16 PM, Samuel Mehrbrodt wrote:
> our xhtml export originally used tabs for indentation. Over time some
> changes were made which were indented with spaces.
> So currently it's a mix of both. I'd like to unify it and as the
> majority was tabs, I converted all to tabs:
> https://gerrit.libreoffice.org/#/c/41009/
> 
> Miklos suggested to convert all to 4 spaces instead as we do in C++
> code.The downside is that converting to spaces touches almost all lines,
> while this touches only a few.

So this is about tabs in the XSLT source code, not in the generated 
XHTML?  I'd agree with Miklos that it's better to clean up such source 
code to use spaces instead of tabs.


More information about the LibreOffice mailing list