j2css / j2c-importer

Convert CSS to j2c
http://j2c.py.gy/import.html
0 stars 0 forks source link

@styleset, @swash, @ornaments, @annotation, @stylistic and @character-variant end up with an extraneous space. #4

Closed pygy closed 8 years ago

pygy commented 8 years ago
@font-feature-values Font One {
  @styleset{
    ident0: 2;
  }
  @swash{
    ident1: 2;
  }
  @ornaments{
    ident2: 2;
  }
  @annotation{
    ident3: 2;
  }
  @stylistic{
    ident4: 2;
  }
  @character-variant{
    ident5: 2;
  }
}

Becomes

{
  '@global': {
    '@font-feature-values Font One': {
      '@styleset ': {
        ident0: 2
      },
      '@swash ': {
        ident1: 2
      },
      '@ornaments ': {
        ident2: 2
      },
      '@annotation ': {
        ident3: 2
      },
      '@stylistic ': {
        ident4: 2
      },
      '@character-variant ': {
        ident5: 2
      }
    }
  }
}

Where '@styleset ' should be '@styleset', etc...