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>-subscr...@subversion.apache.org
>>  +   <! -- U+2011 NON-BREAKING HYPHEN.  TODO: used a named entity. -->
>>  +   to <em>LISTNAME</em>‑subscr...@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>

- Julian

Reply via email to