John Maddock wrote:
> Whenever I put a $ or ' character in code block it gets displayed as a # 
> once it's translated to HTML.  If I place these inside [pre] blocks instead 
> then they display correctly.  Is this intended behaviour?

It's intended but to be honest, I'm not quite happy with it.
The # is generated for those characters that are not recognized
by the code lexer. $ is not valid c++, nor ', depending on where
it is found. Any better suggestion on how to deal with this is
very welcome. These critters are handled by syntax_highlight.hpp
Unexpected action (line 217 actions.cpp).

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to