10.1.3 Substituting Non Breaking Space

A non-breaking code should be inserted using the non_breaking_space information, taken from the general information (see Converter General Information), using get_info:

my $non_breaking_space = $converter->get_info('non_breaking_space');
my $result = '<tr><td>' .$non_breaking_space. '</tr></td>';

In that case, there is nothing more to do.

If a &nbsp; can directly appear in formatted code, however, the corresponding text should be in a call to substitute_html_non_breaking_space, to take into account OUTPUT_CHARACTERS and USE_NUMERIC_ENTITY customization variables:

Function: $substituted_text = $converter->substitute_html_non_breaking_space ($formatted_text)

Substitute &nbsp; according to customization variables values.

See HTML Features Customization in Texinfo for OUTPUT_CHARACTERS and USE_NUMERIC_ENTITY description.