Ticket/master/7659 puppetdoc despite hashes

I wrote a simple fix for the lexer to prevent it from dropping certain docstrings.

I'm not sure if the fix is truly valid and my conclusions correct. It would probably be sensible if Brice could take a look at it.