Skip to content

Commit

Permalink
Merge pull request #1541 from WalterBright/fix9369again
Browse files Browse the repository at this point in the history
fix Issue 9369 - DDoc hardcodes '&' -> '&' in code
  • Loading branch information
WalterBright committed Jan 24, 2013
2 parents f795e1b + 77fbee1 commit 9f780b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc.c
Expand Up @@ -290,7 +290,7 @@ void Module::gendocfile()
dc->macros->write(dc, sc, this, sc->docbuf);
}
sc->docbuf->write(comment, commentlen);
highlightText(NULL, this, sc->docbuf, 0);
highlightText(sc, this, sc->docbuf, 0);
}
else
{
Expand Down
5 changes: 5 additions & 0 deletions test/compilable/test9369.d
@@ -0,0 +1,5 @@
Ddoc

---
a=1;
---

0 comments on commit 9f780b0

Please sign in to comment.