Skip to main content
Almtuna
Inspiring
Sep 3, 2021 12:01 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

Bob_Niland
Community Expert
Community Expert
Sep 3, 2021 1:31 PM UTC

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?

Translate
Almtuna
AlmtunaAuthor
Inspiring
Sep 3, 2021 1:40 PM UTC

The html source code looks like:

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

 

Translate
Bob_Niland
Community Expert
Community Expert
Sep 3, 2021 1:55 PM UTC

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.

Translate