SOLVED: Spacing is ignored between variables

This forum is for all Flare issues not related to any of the other categories.
Post Reply
echopraxia
Propeller Head
Posts: 13
Joined: Wed Aug 29, 2012 11:38 am

SOLVED: Spacing is ignored between variables

Post by echopraxia »

I'm running into an issue where I have several locations in both Web and Printed format where I have variables next to each other and the spacing is completely ignored. For example,

[Variable1] [Variable2] is being generated as Variable1Variable2.

Troubleshooting that I've already done:
  • Search/replaced in the source code any variables which did not have a trailing space and added a space
  • Attempted to use " " in the source code to force the space -- this resulted in a plethora of errors during generation and I had to take them back out
Last edited by echopraxia on Wed Dec 12, 2012 11:06 am, edited 1 time in total.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Spacing is ignored between variables

Post by LTinker68 »

echopraxia wrote:Attempted to use " " in the source code to force the space -- this resulted in a plethora of errors during generation and I had to take them back out
Not sure that it will take care of the issue, but this should be   for XML-compliance. The other option is to use the CDATA block to insert the space, but I don't think there's an easy way to insert that via the keyboard. If you do Shift+space then you should get the 160 code. Note, however, that the 160 code (and probably the CDATA block) is considered a character, so 1) the variable/space/variable would resolve to one "word" and would all wrap to the next line if the whole "word" couldn't fit on the first line, and 2) might get hyphenated, depending on how you have the project configured.

I don't have Flare open at the moment to see what I did. I think I did normal space then Shift+space then went back and deleted the Shift+space so the normal space remained. I'm not entirely sure that's what I did, though, and I can't check at the moment, so hopefully someone else will jump in, too.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
echopraxia
Propeller Head
Posts: 13
Joined: Wed Aug 29, 2012 11:38 am

Re: Spacing is ignored between variables

Post by echopraxia »

SHIFT+SPACE to insert the   worked great. I realized I hadn't thanked you after I updated my docs. Ooops! So, thank you this worked perfectly :)
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Spacing is ignored between variables

Post by LTinker68 »

Just keep in mind as I said that the 160 code is considered a character so if you have <variable1> <variable2> then that's considered one long word and could wrap as one unit to the next line, leaving a big gap at the end of the previous line.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply