Browse Source

kernel: Add percent-sign to selector conversion.

Herbert Vojčík 7 years ago
parent
commit
c7e64e5cd1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      support/kernel-fundamentals.js

+ 2 - 0
support/kernel-fundamentals.js

@@ -366,6 +366,7 @@ define(['./compatibility'], function () {
                     .replace(/[\/]/g, '_slash')
                     .replace(/[\\]/g, '_backslash')
                     .replace(/[\~]/g, '_tild')
+                    .replace(/%/g, '_percent')
                     .replace(/>/g, '_gt')
                     .replace(/</g, '_lt')
                     .replace(/=/g, '_eq')
@@ -399,6 +400,7 @@ define(['./compatibility'], function () {
                 .replace(/_slash/g, '/')
                 .replace(/_backslash/g, '\\')
                 .replace(/_tild/g, '~')
+                .replace(/_percent/g, '%')
                 .replace(/_gt/g, '>')
                 .replace(/_lt/g, '<')
                 .replace(/_eq/g, '=')