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