How do we prevent Madcap Flare from injecting non-breaking spaces in our documentation?
We use Madcap Flare for our documentation, and it has an annoying property: if you happen to have the shift key down when you type a space, it inserts a non-breaking space ( 
). Our documentation covers SQL, so things like CREATE TABLE
are common and too often come out as CREATE TABLE
. Not only does that mess up our page formatting sometimes (wide table sells, ugly line-wrap, etc), but there have been times when we've had to search the source for something and we've missed cases because of this.
I found the keyboard shortcuts in the settings and changed the global key binding for non-breaking space to something else that I won't type by accident, but it didn't help.
I searched Flare's forums and didn't find an answer there. We'd rather prevent Flare from inserting these than write post-processing scripts to remove them. Can we?
2 answers
I found a post on https://forums.madcapsoftware.com/smash kartsviewtopic.php?t=28852 that suggests using the non-breaking space character (CTRL+SHIFT+SPACE) instead of the non-breaking space key binding to avoid the issue. Another post on the same forum suggests that you can specify hyphenation rules on a style to prevent Flare from inserting non-breaking spaces. You can edit the properties of the style, choose the Hyphenation tab, and switch off hyphenation altogether for that style (Never).
1 comment thread
It turns out that "Global" doesn't mean global in Flare. We haven't figured out what it actually means, but to fix this you have to select "XML Editor" from the drop-down menu shown in the screen shot and then change it there.
I changed it in both to be safe, and our team is no longer getting unwanted non-breaking spaces.
1 comment thread