ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: ntg-context mailing list <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: [NTG-context] xml nbsp?
Date: Tue, 13 Jun 2023 15:43:45 +0100	[thread overview]
Message-ID: <39597EA3-6A6A-4F6D-B2FE-F0603DA6DDCC@scorecrow.com> (raw)
In-Reply-To: <A028D0A4-F5EB-45FD-9F77-6D4794CE06FC@ziggo.nl>

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

&nbsp; is not a pre-defined named character in XML (but it is in HTML which lulls you into a false sense of security).

See the link below for some more detail and a fix.
<https://coderanch.com/t/322290/java/html-nbsp-braking-space-character>


> On 13 Jun 2023, at 11:01, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
> 
> What happened to the non breaking space in XML? It has disappeared in a way. See the minimal example attached.
> 
> dr. Hans van der Meer
> 

[-- Attachment #2: test-nbsp.pdf --]
[-- Type: application/pdf, Size: 13603 bytes --]

[-- Attachment #3: Type: text/plain, Size: 44 bytes --]

> 

—
Bruce Horrocks
Hampshire, UK


[-- Attachment #4: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2023-06-13 14:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 10:01 Hans van der Meer via ntg-context
2023-06-13 14:43 ` Bruce Horrocks via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39597EA3-6A6A-4F6D-B2FE-F0603DA6DDCC@scorecrow.com \
    --to=ntg-context@ntg.nl \
    --cc=ntg@scorecrow.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).