I recently upgraded Umbraco from 4.7.0 to 4.7.1.1. Almost
everything went well except for this one weird thing.
I have a custom data type that contains xml. One of the
properties is a phone number. After the upgrade, the “-“ character is not
appearing on the front end. When I check the property in Umbraco, its there (888) 888-8888, but on the front end, its (888)
8888888.
I checked the umbraco.config file, and it’s in the correct
format there <tollfree><![CDATA[(888) 888-8888]]></tollfree>. I'm accessing the property like this
specialty.tollfree
I can put any other character in place of the dash, and it
works fine, but as soon as I put the dash in, it gets stripped out or
something. I’ve even disabled css and js to see if something was going on
there, but still happening, so I’m suspecting the razor view engine?
Dash in phone number being removed
I recently upgraded Umbraco from 4.7.0 to 4.7.1.1. Almost everything went well except for this one weird thing.
I have a custom data type that contains xml. One of the properties is a phone number. After the upgrade, the “-“ character is not appearing on the front end. When I check the property in Umbraco, its there (888) 888-8888, but on the front end, its (888) 8888888.
I checked the umbraco.config file, and it’s in the correct format there <tollfree><![CDATA[(888) 888-8888]]></tollfree>. I'm accessing the property like this
I can put any other character in place of the dash, and it works fine, but as soon as I put the dash in, it gets stripped out or something. I’ve even disabled css and js to see if something was going on there, but still happening, so I’m suspecting the razor view engine?
Anybody know what could be happening?
is working on a reply...