gitdown 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kramdown/parser/github_markdown/github_codeblock.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
@@ -29,7 +29,7 @@ module Kramdown
|
|
29
29
|
module Parser
|
30
30
|
class GithubMarkdown
|
31
31
|
GITHUB_CODEBLOCK_START = /^```/
|
32
|
-
GITHUB_CODEBLOCK_MATCH = /^```([^\s]*)?\s*?\n(.*?)
|
32
|
+
GITHUB_CODEBLOCK_MATCH = /^```([^\s]*)?\s*?\n(.*?)^```[\ \t]*\n/m
|
33
33
|
|
34
34
|
# Parse the indented codeblock at the current location.
|
35
35
|
def parse_github_codeblock
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thomas Leitner
|