Skip to content

Commit

Permalink
ws
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed Dec 15, 2011
1 parent a2848f8 commit 5d0b2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/redcarpet/rc_markdown.c
Expand Up @@ -94,7 +94,7 @@ static VALUE enforce_utf8_encoding(VALUE str)
#ifdef HAVE_RUBY_ENCODING_H
rb_encoding *enc = rb_enc_get(str);
if (enc != rb_utf8_encoding() && enc != rb_usascii_encoding()) {
str = rb_str_export_to_enc(str, rb_utf8_encoding());
str = rb_str_export_to_enc(str, rb_utf8_encoding());
}
#endif
return str;
Expand Down

0 comments on commit 5d0b2a8

Please sign in to comment.