markdown2confluence 0.0.1c → 0.0.1d
Sign up to get free protection for your applications and to get access to all the features.
data/bin/markdown2confluence
CHANGED
@@ -114,7 +114,11 @@ module Kramdown
|
|
114
114
|
end
|
115
115
|
|
116
116
|
def convert_html_element(el, indent)
|
117
|
-
|
117
|
+
markup=case el.value
|
118
|
+
when "iframe" then "{iframe:src=#{el.attr["src"]}}"
|
119
|
+
when "pre" then "{{#{inner(el,indent)}}}"
|
120
|
+
else inner(el, indent)
|
121
|
+
end
|
118
122
|
end
|
119
123
|
|
120
124
|
def convert_xml_comment(el, indent)
|
@@ -196,7 +200,7 @@ module Kramdown
|
|
196
200
|
end
|
197
201
|
|
198
202
|
def convert_smart_quote(el, indent)
|
199
|
-
|
203
|
+
"'"
|
200
204
|
end
|
201
205
|
|
202
206
|
def convert_math(el, indent)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown2confluence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease: 5
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 1
|
10
|
-
-
|
11
|
-
version: 0.0.
|
10
|
+
- d
|
11
|
+
version: 0.0.1d
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Patrick Debois
|