ZMediumToMarkdown 2.4.3 → 2.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Parsers/IframeParser.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32fa0028f4cca13d96ebf0ce8b152c422f38e9f97851d4b99f625d2d02929f7a
|
4
|
+
data.tar.gz: fe75a02946cf74b86ad8afd0b568c319642321d5bc965ba86e64e2e4ec6a4fe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b895e8f86088717e990f80cd0fb494320f8a2886083c9d0dd10f2dc459b711c39ffde5a5da330b516a53b50f90d6d08359075f013942d2459b2db7ec67f75355
|
7
|
+
data.tar.gz: 43015c53c0057e08c6245274304662233261516890e5eefcceff7fc5fa733765d31e22e8a3c0747432866cf6872de574d69661a66e83626de007c2bbb071d861
|
data/lib/Parsers/IframeParser.rb
CHANGED
@@ -85,6 +85,8 @@ class IframeParser < Parser
|
|
85
85
|
lang = lang.downcase
|
86
86
|
if isForJekyll and lang == "objective-c"
|
87
87
|
lang = "objectivec"
|
88
|
+
elsif lang == "protocol buffer"
|
89
|
+
lang = "protobuf"
|
88
90
|
end
|
89
91
|
else
|
90
92
|
viewRawURL = a['href']
|
@@ -103,8 +105,8 @@ class IframeParser < Parser
|
|
103
105
|
result = "\n"
|
104
106
|
|
105
107
|
result += gistRAW.chomp
|
106
|
-
|
107
|
-
result += "\n"
|
108
|
+
|
109
|
+
result += "\n\n"
|
108
110
|
else
|
109
111
|
result = "```#{lang}\n"
|
110
112
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ZMediumToMarkdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ZhgChgLi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|