• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Character before {xen:property}

Russ

Well-known member
#1
Maybe I'm doing this wrong from lack of sleep:

I have a simple style property called: nodenumber, it's a single string property.

In css: .node_@nodenumber won't work,

So trying .node_{xen:property nodenumber} works but once you save it, reverts back to the .node_@nodenumber, meaning if you save it again without putting it back in the {xen:property} it'll break.

Came on here looking for an existing report, found this:

http://xenforo.com/community/threads/period-after-style-property-breaks-it.48443/

Curious if you're able to extend that to work for characters before it. It's not a big deal... I'm just putting the entire node_1 in the style property now and calling it via .@nodenumber as opposed to .node_@nodenumber/{xen:property nodenumber}
 

Mike

XenForo developer
Staff member
#2
We did have a non-alphanumeric check before the @, but I think we can remove that safely (as the conversion does only flip back if the property is known).