Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass.options() > Indent > Tab #12

Open
SergeyLastochkin opened this issue Aug 6, 2018 · 0 comments
Open

Sass.options() > Indent > Tab #12

SergeyLastochkin opened this issue Aug 6, 2018 · 0 comments

Comments

@SergeyLastochkin
Copy link

SergeyLastochkin commented Aug 6, 2018

Steps to reproduce:

1-Open desktop Google Chrome
2-Go to url https://sass.js.org/
3-Click Gear Icon (settings)
4-Change Indent to Tab

5-Close Settings (i.e. return to base workspace with 2 large textareas)

6-Click button Convert (this will process default test example)

7-Fail ! Indent uses 3 spaces (3 spaces, not expected Tab).

Likely reason

I looked at source code of page and something funny became apparent:

<select id="option-indent">
            <option value="  " selected="selected">2 Spaces</option>
            <option value="    ">4 Spaces</option>
            <option value="   ">Tab</option>
          </select>

last options value is set to 3 spaces. And! When I changed it via Chrome Developer Tools to a proper Tab character (i.e. ' ') and reselected it, problem was temporary fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant