Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 15475: ddoc should not escape unbalanced parens in code blocks.
Add test case.
- Loading branch information
H. S. Teoh
committed
Mar 8, 2016
1 parent
5c569a9
commit 70c53a5
Showing
3 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// PERMUTE_ARGS: | ||
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- | ||
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 15475 | ||
|
||
/** | ||
My module | ||
---- | ||
// Computes the interval [x,y) | ||
auto interval = computeInterval(x, y); | ||
---- | ||
*/ | ||
module ddoc15475; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<html><head> | ||
<META http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>ddoc15475</title> | ||
</head><body> | ||
<h1>ddoc15475</h1> | ||
My module | ||
<pre class="d_code"> <font color=green>// Computes the interval [x,y) | ||
</font> <font color=blue>auto</font> interval = computeInterval(x, y); | ||
</pre> | ||
<br><br> | ||
|
||
|
||
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. </small> | ||
</body></html> |