subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject Re: svn commit: r1230127 - /subversion/site/publish/mailing-lists.html
Date Wed, 11 Jan 2012 16:52:37 GMT
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@subversion.apache.org
>>  +   <! -- U+2011 NON-BREAKING HYPHEN.  TODO: used a named entity. -->
>>  +   to <em>LISTNAME</em>‑subscribe@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

Mime
View raw message