<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,7 @@ class CodeExtension (markdown.Extension):
         md.textPreprocessors.insert(0, preprocessor)
 
 
-CODE_BLOCK_REGEX = re.compile(r&quot;\r?\n(?P&lt;spaces&gt;[ ]*)(?P&lt;fence&gt;@{2,})[[ ]*(?P&lt;syntax&gt;[a-zA-Z0-9_+-]+)[ ]*(?P&lt;linenos&gt;[a-zA-Z]*)[ ]*\r?\n(?P&lt;code&gt;.*?)(?P=fence)[ ]*\r?\n&quot;, re.DOTALL | re.MULTILINE)
+CODE_BLOCK_REGEX = re.compile(r&quot;\r?\n(?P&lt;spaces&gt;[ ]*)(?P&lt;fence&gt;@{2,})[[ ]*(?P&lt;syntax&gt;[a-zA-Z0-9_+-]+)[ ]*(?P&lt;linenos&gt;[a-zA-Z]*)[ ]*\r?\n(?P&lt;code&gt;.*?)(?P=fence)[ ]*\r?\n?$&quot;, re.DOTALL | re.MULTILINE)
 
 class CodeBlockPreprocessor :
     def run (self, text):</diff>
      <filename>markdown/mdx_code.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>511ace2dfcdec13ed866ce6d070c348ed6c62ea7</id>
    </parent>
  </parents>
  <author>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </author>
  <url>http://github.com/lethain/lifeflow/commit/95e62d0cf7f9e3ec14d6ea247fcb3830c9a61ab9</url>
  <id>95e62d0cf7f9e3ec14d6ea247fcb3830c9a61ab9</id>
  <committed-date>2008-10-16T04:39:30-07:00</committed-date>
  <authored-date>2008-10-16T04:39:30-07:00</authored-date>
  <message>Updated the regex for code block detection to allow code blocks at the end of text blocks (previously, it would fail to detect a code block if there was no newline following it).</message>
  <tree>743a82452666b6df5e4db568fa19eaa5a1f9dac2</tree>
  <committer>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </committer>
</commit>
