Non-breaking hypen in a variable?
Non-breaking hypen in a variable?
How do I get a non-breaking hypen in a variable?
Re: Non-breaking hypen in a variable?
Hi there,
You could try adding the code for a non-breaking hyphen into the variable manually and see if that fixes your issue. To do this:
You could try adding the code for a non-breaking hyphen into the variable manually and see if that fixes your issue. To do this:
- Right click on the variable set and select Open With Internal Text Editor.
- Replace the existing hyphens with ‑
- Save your changes.
- Build your output and test.
Code: Select all
<Variable Comment="" Name="PhoneNumber">858‑123‑4567</Variable>
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
-
- Propeller Head
- Posts: 32
- Joined: Tue Dec 01, 2020 2:22 pm
Re: Non-breaking hypen in a variable?
Right click on the variable in the variables folder, and select "open with..." then select "Internal Text Editor". Thank you!Paulie wrote:Hi there,
You could try adding the code for a non-breaking hyphen into the variable manually and see if that fixes your issue. To do this:Example:
- Right click on the variable set and select Open With Internal Text Editor.
- Replace the existing hyphens with ‑
- Save your changes.
- Build your output and test.
Code: Select all
<Variable Comment="" Name="PhoneNumber">858‑123‑4567</Variable>