Skip to content

Commit

Permalink
Merge pull request #252 from crazymerlyn/fix-runnable-files
Browse files Browse the repository at this point in the history
Remove the extra run button on runnable rust files
  • Loading branch information
steveklabnik authored Apr 16, 2017
2 parents b5ec813 + 65d7e86 commit 9602acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/html_handlebars/helpers/playpen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String {
continue;
};

let replacement = String::new() + "<pre class=\"playpen\"><code class=\"language-rust\">" + &file_content +
let replacement = String::new() + "<pre><code class=\"language-rust\">" + &file_content +
"</code></pre>";

replaced.push_str(&s[previous_end_index..playpen.start_index]);
Expand Down

0 comments on commit 9602acc

Please sign in to comment.