camelCase directives not working
Robin Shannon <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAMT3hU7KL9-3G7BHrP9S5uS1qLd+xrCm2Tm4v1i2VV8KeQ8+Ug@mail.gmail.com> |
I created a custom directive called 'eventListner'. After registering it and trying out a test reST document docutils told me that this was an unknown directive. Much confusion later, I finally figured out that if I renamed the directive to 'eventlistner' everything worked fine. Is this a feature or a bug? I looked through the list archive but couldn't find anything obvious about this. I admit that camelCase as a directive name is probably generally not a good idea, but since this is a shortcut for the javascript function 'eventListner' it seemed appropriate. Cheers, Robin. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot