Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How do we prevent Madcap Flare from injecting non-breaking spaces in our documentation?

+1
−0

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 (&#160;). Our documentation covers SQL, so things like CREATE TABLE are common and too often come out as CREATE&#160;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.

keyboard options

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?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (1 comment)

2 answers

+0
−0

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).

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Our problem was that we didn't want those non-breaking spaces _at all_, not that we wanted to enter t... (1 comment)
+1
−0

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »