File tree Expand file tree Collapse file tree 3 files changed +47
-55
lines changed
main/java/com/inet/sass/parser
java/com/inet/sass/testcases/scss
resources/vaadin-themes/css/valo Expand file tree Collapse file tree 3 files changed +47
-55
lines changed Original file line number Diff line number Diff line change @@ -1477,7 +1477,7 @@ private SassListItem parseNumber( char ch ) {
1477
1477
1478
1478
// parse the unit value
1479
1479
LOOP : for ( ;; ) {
1480
- if ( Character .isLetter ( ch ) || ch == '%' || ch == '\ufffd' ) { //TODO the '\ufffd' is a hack for the valo test because it is read as ASCII
1480
+ if ( Character .isLetter ( ch ) || ch == '%' ) {
1481
1481
builder .append ( ch );
1482
1482
} else {
1483
1483
reader .back ( ch );
Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .inet .sass .testcases .scss ;
17
17
18
- import java .nio .charset .StandardCharsets ;
19
-
20
18
import org .junit .Assert ;
21
19
import org .junit .Test ;
22
20
23
21
import com .inet .sass .AbstractTestBase ;
24
- import com .inet .sass .resolver .FilesystemResolver ;
25
- import com .inet .sass .resolver .ScssStylesheetResolver ;
26
22
27
23
public class VaadinThemes extends AbstractTestBase {
28
24
String scssFolder = "/vaadin-themes/scss" ;
29
25
String cssFolder = "/vaadin-themes/css" ;
30
26
31
- protected ScssStylesheetResolver getResolver ( String filename ) {
32
- return new FilesystemResolver ( StandardCharsets .US_ASCII ); // the source is UTF8 but the references are saved for the old ASCII encoding
33
- }
34
-
35
27
@ Test
36
28
public void compileValo () throws Exception {
37
29
String scss = scssFolder + "/valo/styles.scss" ;
You can’t perform that action at this time.
0 commit comments