Skip to content

Commit

Permalink
Merge pull request #6 from ohAitch/patch-1
Browse files Browse the repository at this point in the history
HTML-escape "GameResult<MainState>" using CDATA
  • Loading branch information
icefoxen authored Mar 26, 2018
2 parents 2ff5f1a + 2d1d0bf commit c7e2dfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h1>A Rust library to create Good Games Easily</h1>

<pre>
<code class="rust">
<![CDATA[
extern crate ggez;
use ggez::*;
use ggez::graphics::{DrawMode, Point2};
Expand Down Expand Up @@ -78,6 +79,7 @@ <h1>A Rust library to create Good Games Easily</h1>
let state = &mut MainState::new(ctx).unwrap();
event::run(ctx, state).unwrap();
}
]]>
</code>
</pre>

Expand Down

0 comments on commit c7e2dfb

Please sign in to comment.