Skip to content

Commit

Permalink
Fixed CTFE htmlEscape with unicode characters (they were wrongly enco…
Browse files Browse the repository at this point in the history
…ded in the output).
  • Loading branch information
s-ludwig committed Dec 30, 2012
1 parent 0f85fd0 commit 65f5df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/textfilter/html.d
Expand Up @@ -151,6 +151,6 @@ private struct StringAppender {
void put(dchar ch) {
import std.utf;
char[4] dst;
data ~= dst[encode(dst, ch)];
data ~= dst[0 .. encode(dst, ch)];
}
}

0 comments on commit 65f5df4

Please sign in to comment.