Thomas Guest wrote:
Joel de Guzman <joel <at> boost-consulting.com> writes:

   * I did some comparisons with the "original"
     pre-dynamic-highlighting output, and the whitespace was kept
     inside the phrases with other adjacent stuff - which seemed to
     "work" but looked a bit weird - IMHO it's cleaner now

Nice to hear. I don't quite recall now why I ended up adding &nbsp; The only thing I remember is that in some cases, a " " is ignored by XML.


I'm not quite sure what to do here. As you have noticed the original
syntax_highlight grammar included leading spaces with most "elements". My
current scheme doesn't. I can easily make it behave like it used to, but it would become a little trickier to document. Perhaps we should wait and see?

I think what you are doing is the right way. I'm not quite happy with the leading spaces in the spans. I agree. Let's wait and see.

--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to