[Issue 9369] DDoc hardcodes '&' -> '&' in code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 23 22:15:42 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9369


Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #7 from Andrei Alexandrescu <andrei at erdani.com> 2013-01-23 22:15:41 PST ---
Sorry, still no cigar.

There are a few side effects of this change.

* There are a lot more $(BR) introduced in the output. I think that's not bad
actually, but it is a change in behavior.
* The words "true", "false", and "null" now appear in DDOC_KEYWORD style
everywhere. I had to define DDOC_KEYWORD=$0 to get rid of that. Let's say
that's not bad either.
* The main problem (and the reason I'm reopening this) is that now all code
words that start with an underscore have it chopped off. For example $(D
__FILE__) becomes _FILE__. I suppose that's because of the logic to avoid
highlighting. That logic needs to somehow be removed in the general case.

Everything else seems to work fine. Thanks!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list