Fix documentation rendering issue
@@ -106,7 +106,7 @@ def class_to_source_link(cls):
def code_snippet(snippet):
result = '```python\n'
- result += snippet + '\n'
+ result += snippet.encode('unicode_escape').decode('utf8') + '\n'
result += '```\n'
return result
