This is an automated email from the ASF dual-hosted git repository.

Harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 04e88e6694 escape #
04e88e6694 is described below

commit 04e88e6694f24c52aa761d4a4808446764d1e5b8
Author: Harbs <[email protected]>
AuthorDate: Sun Jun 14 21:54:26 2026 +0300

    escape #
---
 .../src/main/royale/org/apache/royale/style/stylebeads/LeafStyleBase.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/LeafStyleBase.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/LeafStyleBase.as
index 7dec86dca1..1ef5e5162b 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/LeafStyleBase.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/LeafStyleBase.as
@@ -191,7 +191,7 @@ package org.apache.royale.style.stylebeads
                }
                private function normalizeSelector(selector:String):String
                {                       // TODO this is pretty naive. We should 
probably be doing some kind of parsing here.
-                       return "." + selector.replace(/(:|\.|\/)/g, "\\$1");
+                       return "." + selector.replace(/(:|\.|\/|#)/g, "\\$1");
                }
 
                public function getRule():String

Reply via email to