Fix Issue 12706 - __dollar should be emitted as a '$' symbol in ddoc output.
Merge pull request #3529 from AndrejMitrovic/Fix12706

Issue 12706 - __dollar should be emitted as a '$' symbol in ddoc output.