Skip to content

[SCSS] Empty spaces are removed from function argument strings in string interpolation #9224

@pfeileon

Description

@pfeileon

Prettier 2.0.5

Input:

$test: '#{string.index('this is a test', 'a test')}';

Output:

$test: '#{string.index('thisisatest', 'atest')}';

Expected Behavior:
Function arguments should not be altered because this breaks the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions