Permalink
Browse files

more explicit escaping to work around coderay bug

  • Loading branch information...
alexch committed Nov 19, 2011
1 parent 3e89d10 commit c430cc954eb908ba7a5646e303ffda0fc1871a21
Showing with 2 additions and 2 deletions.
  1. +2 −2 lessons/18.yaml
View
@@ -46,7 +46,7 @@ explanation: |
<pre class="code">
:::erb
- &lt;td><%= topic.description %>&lt;/td>
+ &lt;td>&lt;%= topic.description %>&lt;/td>
</pre>
This line was getting the description using .description and just printing it out
@@ -64,7 +64,7 @@ explanation: |
<pre class="code">
:::erb
- &lt;td><%= link_to topic.title, topic %>&lt;/td>
+ &lt;td>&lt;%= link_to topic.title, topic %>&lt;/td>
</pre>
Here's another use of `link_to` to create a link on the page. This

0 comments on commit c430cc9

Please sign in to comment.