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

Theme miltiline option generates less compilation error #722

Closed
AlexRadch opened this Issue Apr 21, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@AlexRadch

AlexRadch commented Apr 21, 2015

I create theme option of Textarea type.

        {
            "label": "Header text",
            "name": "headerText",
            "type": "Textarea",
            "default": ""
        },

When I set headerText to miltiline value.

line1
line2

It generates next less compilation error:
Less compilation error: Theme - ParseError: Unexpected input in anonymous-file-0.less on line 7, column 8 5) @headerColor: #a10369; 6) @headerBackgroundColor: #ffffff; 7) @headerText: 'line1 8) line2'

So less file is

@headerText: 'line1
line2'

but should be like this

@headerText: 'line1\r\nline2'

How to disable generation of less variable for multiline option?

@maskas maskas added Bug 4.x labels Apr 21, 2015

@maskas maskas closed this in 9e440a7 May 19, 2015

maskas added a commit that referenced this issue Dec 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment