Code samples introduced with '----' have all ampersands replaced with '&'. This HTMLism makes it impossible to translate to other document formats.
With the new release, attempting to compile the following file crashes dmd:
=======dlangspec-tex.d begins here
Ddoc
---
a=1;
---
=======dlangspec-tex.d ends here
The command invoked is:
dmd dlangspec-tex.d
I have updated the compiler, druntime, and phobos, made a clean 64-bit build. Can you reproduce this?
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!
Comment #8 by bugzilla — 2013-01-23T22:26:18Z
(In reply to comment #7)
> There are a few side effects of this change.
In ddoc files or d source code files?