Fixed possible issues with '.. note::' directives.