HomePhabricator

Fix tab indentation missing in Diffusion

Description

Fix tab indentation missing in Diffusion

This seems to be a specific of how browsers are dealing with
spaces/tabs. Multiple spaces works just fine, but multiple
tabs were treating as a single space which breaks indentation.

Now made it so tabs are replaced with 4 spaces. Not ideal but
still better than fully unreadable code. This also matches to
how differential is handling tabs.

Ref T2495. See: https://github.com/facebook/phabricator/issues/487

Reviewed by: epriestley

Details

Group Auditors
Cowboy Commits
Provenance
sergey.vfxAuthored on
epriestleyCommitted on Jan 20 2014, 6:11 PM
epriestleyPushed on Jan 20 2014, 6:11 PM
Reviewer
epriestley
Parents
rP01a80af976c3: Fix typo from initializeNewLog() refactor
Branches
Unknown
Tags
Unknown
Tasks
T2495: Improve whitespace expansion of tab literals

Event Timeline