Unable to add space between variables

This forum is for all Flare issues not related to any of the other categories.
Post Reply
todd.richardson
Sr. Propeller Head
Posts: 184
Joined: Thu Aug 07, 2008 6:43 am
Location: Massachusetts

Unable to add space between variables

Post by todd.richardson »

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:
Image
Image

Reverted/incorrect formatting (no space) in XML after the file is saved and re-opened, and the result in Preview (merged text):
Image
Image

Any idea why this is happening? Are there known spacing issues with variable text?
Thanks in advance.
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
JasonSTI
Sr. Propeller Head
Posts: 110
Joined: Mon Jan 07, 2008 11:34 am

Re: Unable to add space between variables

Post by JasonSTI »

This is due to spaces between two HTML tags not being honored. You can use a

Code: Select all

<![CDATA[ ]]>
tag to force a space, or use a non-breaking space

Code: Select all

 
between the two elements. If you enter the space using the XML Editor in Flare, this usually adds a CDATA space automatically.
todd.richardson
Sr. Propeller Head
Posts: 184
Joined: Thu Aug 07, 2008 6:43 am
Location: Massachusetts

Re: Unable to add space between variables

Post by todd.richardson »

Thanks for the helpful explanation/information. I will try your suggestion(s).
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
Post Reply