Skip to content

Commit 9602acc

Browse files
authored
Merge pull request #252 from crazymerlyn/fix-runnable-files
Remove the extra run button on runnable rust files
2 parents b5ec813 + 65d7e86 commit 9602acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/html_handlebars/helpers/playpen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String {
3535
continue;
3636
};
3737

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

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

0 commit comments

Comments
 (0)