Hello,
I've encountered a strange (and altogether frustrating) issue that has left me unable to save and retain a manually added space between two variables. In this example, we've used one variable for Company Name and a second variable for Product Name. When the two variables were inserted in a topic, the writer forgot to include a space between them. As a result, the variable text is merged in the output (see below). The problem, however, is this: when I attempt to manually insert a space between the variables, then save, close, and re-open the topic, the added space is not retained. The text inserted by the two variables is again merged.
Corrected formatting in XML (space inserted between Company Name and Product Name) and the intended result in Preview:
Reverted/incorrect formatting (no space) in XML after the file is saved and re-opened, and the result in Preview (merged text):
Any idea why this is happening? Are there known spacing issues with variable text?
Thanks in advance.
Unable to add space between variables
-
- Sr. Propeller Head
- Posts: 184
- Joined: Thu Aug 07, 2008 6:43 am
- Location: Massachusetts
Unable to add space between variables
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero
Windows 10, Flare 2020
Engineering Team Lead – Customer Experience | IntervalZero
Windows 10, Flare 2020
Re: Unable to add space between variables
This is due to spaces between two HTML tags not being honored. You can use a tag to force a space, or use a non-breaking space between the two elements. If you enter the space using the XML Editor in Flare, this usually adds a CDATA space automatically.
Code: Select all
<![CDATA[ ]]>
Code: Select all
-
- Sr. Propeller Head
- Posts: 184
- Joined: Thu Aug 07, 2008 6:43 am
- Location: Massachusetts
Re: Unable to add space between variables
Thanks for the helpful explanation/information. I will try your suggestion(s).
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero
Windows 10, Flare 2020
Engineering Team Lead – Customer Experience | IntervalZero
Windows 10, Flare 2020