Nope, you should be good. Remember, `erb.call(template)` actually returns Ruby code, not markdown (you may want to change the variable name, and not call `.html_safe` on it). For example, I just tested this with a simple template like this one:

````
Hello!
======

Ruby: `exit!`, <%= "exit!" %>
HTML: <script>is valid markdown<%= "</script>" %>
````

This method would return the following ruby code as a string:

````
MarkdownRails.renderer.call(begin;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_append='Hello!
======

Ruby: `exit!`, ';@output_buffer.append=( "exit!" );@output_buffer.safe_append='
HTML: <script>is valid markdown';@output_buffer.append=( "</script>" );@output_buffer.safe_append='
';@output_buffer.to_s;end).html_safe
````

I for one would love to see this make it into a gem, I've got the code from that SO answer sprinkled through various projects.