Use uniform spacing and (LF-only) line endings
Closed this issue · 9 comments
dandv commented
RFG uses a mix of spaces, tabs, LF, and CR+LF line separators:
- browser.config.xml is CRL+LF-separated. Arguably this is because it targets Windows, but the file likely won't be edited on Windows, and there are other text files in the package that Notepad will display in one lines. The XML uses spaces for indentation - great.
- manifest.json uses LF-only line separators, but tabs instead of spaces for indentation
- safari-pinned-tab uses LF line endings and wraps at 74 chars/line.
phbernard commented
Thanks. I never realized this.
So:
manifest.json
looks okay. This is whatjson_encode
andJSON_PRETTY_PRINT
generate so I rather stick to it.browserconfig.xml
: let's switch to LF-only and tabs, to matchmanifest.json
. Plus it's (a little bit) more compact.- Safari pinned tabs SVG icon: SVGO will decide, see #261.
phbernard commented
Fixed in branch package_v0_14
phbernard commented
Deployed a minute ago.
XhmikosR commented
@phbernard: nitpicking but manifest.json does not have the end of file line break like the browserconfig.xml has. :)
phbernard commented
Hex editor speaking :) Both manifest.json
and browserconfig.xml
have UNIX-style (ie. 0x0A) end of line.
Do you observe something else?
XhmikosR commented
Yeah. I tried it 3 times and the result is the same. The manifest doesn't
have the end of file line break while the xml does :)
…On Jan 18, 2017 20:35, "Philippe Bernard" ***@***.***> wrote:
Hex editor speaking :) Both manifest.json and browserconfig.xml have
UNIX-style (ie. 0x0A) end of line.
Do you observe something else?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#283 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVVtTQtKktyUyjE035UPNbNzmOJ5A5Lks5rTltsgaJpZM4KOVD->
.
phbernard commented
XhmikosR commented