walle/gimli — pull request #49 by toshi-kawanishi (2013-12-07 16:07:08+00:00)
Title: Fix garbled characters with code blocks including utf-8 strings

The utf-8 strings in code blocks seem to be garbled.

So I add a spec with a utf-8 fixture and it is failed:

```
Failures:

1) Gimli::Markup::Renderer should
Failure/Error: markup.render.should == output
expected: "

\n

まつもとゆきひろ

\n

\n\n"
got: "

\n

������������������������

\n

\n\n" (using ==)
Diff:
@@ -1,4 +1,4 @@

-

まつもとゆきひろ

+

������������������������

# ./spec/gimli/markup/renderer_spec.rb:29:in `block (2 levels) in '
```

The changes fix this issue.