[ddoc] Issue 7656 and 7715 - ddoc must escape special characters #1244

Merged
merged 1 commit into from Dec 6, 2012

Conversation

Projects
None yet
2 participants
@ghost

ghost commented Nov 2, 2012

Wait don't merge this yet, I can incorporate a fix for related Issue 7715 http://d.puremagic.com/issues/show_bug.cgi?id=7715

@ghost

ghost commented Dec 2, 2012

Pinging tester again.

donc merged commit ab5258d into dlang:master Dec 6, 2012

1 check passed

default Pass: 10
Details
@ghost

ghost commented Dec 8, 2012

We are going to have to revert this, it's causing new issues with code examples, parens go missing and I can see why:

/**
add func
Example:

----
assert(add(1, 1) == 2);
----
*/
int add(int a, int b) { return a + b; }

Before the pull:

<b>Example:</b><br>
<pre class="d_code"><font color=blue>assert</font>(<u>add</u>(1, 1) == 2);
</pre>

After:

<b>Example:</b><br>
<pre class="d_code"><font color=blue>assert</font>(<u>add</u>(1, 1 == 2</pre>;
<br><br>

I'll work on a better fix.

@ghost

ghost commented Dec 8, 2012

Made revert pull: D-Programming-Language#1359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment