Bug 12745 – [Ddoc] Underscore is removed from numbers in document comments

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-05-14T10:44:00Z
Last change time
2014-08-11T11:28:50Z
Keywords
pull
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2014-05-14T10:44:59Z
This code: --- int i; /// a_0 0_a A_1.2_and_B --- Results in this documentation comment: --- a_0 0a A_1.2and_B --- Underscores should not be removed. E.g. it breaks some HTML anchors.
Comment #1 by github-bugzilla — 2014-08-11T11:28:49Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/841d62b5cfdc1b6bb826ccb464a72a5058d117f7 Fix Issue 12745 - [Ddoc] Underscore is removed from numbers https://github.com/D-Programming-Language/dmd/commit/07067a371a7d6eb8aa4653ac871843191bbbd766 Merge pull request #3836 from ntrel/ddoc-digit-underscore Fix Issue 12745 - [Ddoc] Underscore is removed from numbers