Ticket #5523: constants.xhtml.patch

File constants.xhtml.patch, 933 bytes (added by greezybacon, 2 years ago)

Patch to use XML entities for the ampersand characters

  • doc/core/howto/constants.xhtml

     
    316316>>> 
    317317  </pre> 
    318318 
    319   <p>Constants can also be combined using the logical operators <code>&</code> 
     319  <p>Constants can also be combined using the logical operators <code>&amp;</code> 
    320320  (<em>and</em>), <code>|</code> (<em>or</em>), and <code>^</code> 
    321321  (<em>exclusive or</em>). 
    322322  </p> 
     
    324324  <pre class="shell"> 
    325325>>> Permission.USER_READ | Permission.USER_WRITE 
    326326&lt;Permission={USER_READ,USER_WRITE}> 
    327 >>> (Permission.USER_READ | Permission.USER_WRITE) & Permission.USER_WRITE 
     327>>> (Permission.USER_READ | Permission.USER_WRITE) &amp; Permission.USER_WRITE 
    328328&lt;Permission=USER_WRITE> 
    329329>>> (Permission.USER_READ | Permission.USER_WRITE) ^ Permission.USER_WRITE 
    330330&lt;Permission=USER_READ>