Julian Foad wrote on Wed, Jan 11, 2012 at 16:52:37 +0000:
> Daniel Shahaf wrote:
> 
> >>  Log:
> >>  * mailing-lists.html: use a non-breaking hyphen
> >> 
> >>   <p>To subscribe to the lists above, simply send email
> >>  -   to <em>LISTNAME</em>-subscribe_at_subversion.apache.org
> >>  +   <! -- U+2011 NON-BREAKING HYPHEN.  TODO: used a named entity. -->
> >>  +   to <em>LISTNAME</em>‑subscribe_at_subversion.apache.org
> > 
> > Okay -- that seems to work, but it breaks searching the page for
> > "LISTNAME-".
> 
> Worse, it breaks copy-and-paste from screen to MUA, in an almost impossible-to-figure-out way.  Eugh.
> 
> > Does anyone know a better way to do this?
> 
> From <http://www.toxicdrums.com/html-stop-line-break.html>:
> 
> Style:
>   .my-nowrap {white-space: nowrap;}
> 
> Then, HTML:
>   <span class="my-nowrap"><em>LISTNAME</em>-...</span>
Thanks --- implemented r1230153 after Bert suggested it on IRC.
> 
> - Julian
Received on 2012-01-11 18:04:54 CET