table tag not closed when using code blocks

2 views
Skip to first unread message

jasonwryan

unread,
Apr 13, 2016, 9:35:50 PM4/13/16
to Octopress
I just updated to master after a period of inactivity and the transition seemed to go fine. Unfortunately, when using my own theme or the Ocotpress default, when I use a codeblock in one of my posts, the generated <table> tag is not closed, so everything after the codeblock is jammed into the table, including all of the sidebar material.

Here is the (truncated for brevity) generated HTML of one of the pages:
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><pre><code class='bash'><span class='line'><span class="c">#!/usr/bin/env bash</span></span><span class='line'><span class="c"># union mount Music when Apollo plugged in</span></span><span class='line'>...</span><span class='line'><span class="k"> </span><span class="nb">printf</span> <span class="s2">&quot;^fg(#BF85CC)%s\n&quot;</span> <span class="s2">&quot;Music directory updated&quot;</span> | dzen2 -p 3</span><span class='line'><span class="k">fi</span></span></code></pre></div></figure>


And here is the rendered output:


...and how it is supposed to look


I have been digging around in the source to try and find why the closing table tag is missing, but have not had much luck. Can anyone point me at the file(s) I should be looking at?


Thanks,


/J



jasonwryan

unread,
Apr 15, 2016, 4:28:56 PM4/15/16
to Octopress
Ugh. pygments_code.rb wasn't updated...
Reply all
Reply to author
Forward
0 new messages