Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Garbage output when using interpolation with unquoted string #302

Open
vaadin-bot opened this issue Sep 16, 2015 · 0 comments
Open

Garbage output when using interpolation with unquoted string #302

vaadin-bot opened this issue Sep 16, 2015 · 0 comments
Labels

Comments

@vaadin-bot
Copy link

Originally by @Artur-


$pathFix: "../../../valoexamples";
$fontfile: "fonts/Vaadin-Icons";
$full: #{$pathFix}/#{$fontfile};

.foo {
  full: $full;
}
@include v-font(VaadinIcons, $full);

Should, when used with Valo, output

.foo {
	full: ../../../valoexamples/fonts/Vaadin-Icons;
}

@font-face {
	font-family: VaadinIcons;
	font-weight: normal;
	font-style: normal;
	src: url(../valo/util/bourbon/css3/../../../valoexamples/fonts/Vaadin-Icons.eot);
...

but instead it outputs

.foo {
	full: ../../../valoexamples/fonts/Vaadin-Icons;
}

@font-face {
	font-family: VaadinIcons;
	font-weight: normal;
	font-style: normal;
	src: url(../valo/util/bourbon/css3/�.eot);
...

No warnings or errors are output. Quoting $full makes it works as expected.


Imported from https://dev.vaadin.com/ issue #18910

@vaadin-bot vaadin-bot added the bug label Nov 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant