Skip to main content
Almtuna
Inspiring
September 3, 2021
Question

Non-breaking space in heading results in   in HTML5 link.

  • September 3, 2021
  • 1 reply
  • 1088 views

In my FM19 document I have a non-breaking space in a heading:

I have a cross-reference to this heading:

 

But in the generated HTML5 output, this cross-reference looks like:

 

How can I avoid this   output in the generated HTML5?

This topic has been closed for replies.

1 reply

Bob_Niland
Community Expert
Community Expert
September 3, 2021

Never having tried it, rendering \x11 (CTRL+space) to   strikes me as the desired default behavior for FM.

But in this case, it looks like it's been rendered as  , causing the browser to display the markup, rather than honor it.

What does the raw HTML show?

Almtuna
AlmtunaAuthor
Inspiring
September 3, 2021

The html source code looks like:

Can you read that tiny text? Here comes a closer look:

Bob_Niland
Community Expert
Community Expert
September 3, 2021

That looks like a bug at first glance.
I've raised a wider non-breaking space question on a separate thread today, but you might need to file a report on that.

It's also possible that there's some mapping table somewhere, that you can edit, that might contain something needing a tweak.