[dokuwiki] Re: mono spaced text and line wrap
- From: "Phy" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "i" for DMARC)
- To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
- Date: Thu, 20 Dec 2018 14:07:18 -0500
On Thu, Dec 20, 2018 at 8:34 AM Kai Peter <kp@xxxxxxxxxxxxxxxxxxx> wrote:
At which cases do you think it doesn't work? May be you can give me an
example, even it is a bit theoretical? You may be have recognized that
English isn't my first language. The background is - like Andy
recommended - I'm working on my own (special) template. So may be I can
incorporate some stuff to prevent this.
In usual English layout, hyphens will be respected in this way:
This is a ten-
This is a ten
If browsers sees a hyphen and newline, they usually sees this as an
English one and wraps after the hyphen. If your language doesn't
involve this, you can just **replace them with the non-breaking ones**.
Whatever, I digged into this again, and there's a new CSS rule
(though it only controls the hyphen-adding, not the newline you are
Also I don't think white-space: nowrap will help you. So just use
entities.conf if it doesn't involve English texts at all.
Other related posts: