If I wrap a space character with the following span: <span style="visibility:hidden"> </span>
the line is wrapped and the space is not copied when I copy the text. (Tested with Firefox 34, IE 11). It feels like a trick, though. Best regards, Konstantin Kolinko 2014-12-12 1:06 GMT+03:00 Christopher Schultz <ch...@christopherschultz.net>: > All, > > Reverted. > > Note that I was unable to get CSS word-wrap:break-word to work under > these circumstances (but it does work in other circumstances, so it's > not just that I can't type it properly). > > Playing around with Firefox's on-page CSS editor, I was unable to get it > to make very many changes *at all* to those tables. I suspect that the > relationship between <table>, <tr>, and <td> interferes with things like > setting the width of the container element (<td>), because I couldn't > even say "td: you are 50px across, no re-layout with word-wrapping, damn > you!". > > If anyone has any brilliant ideas, I'd love to hear them. > > Thanks, > -chris > > On 12/11/14 3:33 PM, Christopher Schultz wrote: >> Filip, >> >> On 12/11/14 3:08 PM, Filip Hanik wrote: >>> Mr Schultz, nothing prevents you from removing the spaces if you at the >>> same time fix the formatting or provide a solution to it. >>> I do agree, that the spaces in the code for the sake of formatting is >>> pretty lame, as it makes for erroneous copy/paste. >> >> I hadn't realized that the spaces were there to handle formatting (which >> I agree is unfortunate and kinda hacky, but what are you gonna do?). >> >> The reason I removed the spaces was so copy/paste would work if a user >> blindly copy/pasted the property name into a script, etc. >> >> I'll revert the patch and see if I can come up with something that works >> across browsers (which probably doesn't exist). >> >> Thanks, >> -chris >> >>> On Thu, Dec 11, 2014 at 1:03 PM, Mark Thomas <ma...@apache.org> wrote: >>> >>>> On 11/12/2014 19:49, schu...@apache.org wrote: >>>>> Author: schultz >>>>> Date: Thu Dec 11 19:49:25 2014 >>>>> New Revision: 1644737 >>>>> >>>>> URL: http://svn.apache.org/r1644737 >>>>> Log: >>>>> Removed extraneous spaces from system property keys. >>>> >>>> -1. >>>> >>>> Those spaces are there for a good reason - it makes the page readable. >>>> The other system properties have them too. >>>> >>>> Mark >>>> >>>> >>>>> >>>>> Modified: >>>>> tomcat/trunk/webapps/docs/config/systemprops.xml >>>>> >>>>> Modified: tomcat/trunk/webapps/docs/config/systemprops.xml >>>>> URL: >>>> http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/systemprops.xml?rev=1644737&r1=1644736&r2=1644737&view=diff >>>>> >>>> ============================================================================== >>>>> --- tomcat/trunk/webapps/docs/config/systemprops.xml (original) >>>>> +++ tomcat/trunk/webapps/docs/config/systemprops.xml Thu Dec 11 19:49:25 >>>> 2014 >>>>> @@ -597,32 +597,32 @@ >>>>> >>>>> <properties> >>>>> >>>>> - <property name="org.apache.tomcat >>>> .websocket.ALLOW_UNSUPPORTED_EXTENSIONS"> >>>>> + <property >>>> name="org.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS"> >>>>> <p>If <code>true</code>, allow unknown extensions to be declared >>>> by >>>>> the user.</p> >>>>> <p>The default value is <code>false</code>.</p> >>>>> </property> >>>>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org