markdown2confluence 0.0.1d → 0.0.1e

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,6 @@ exit -1
10
10
 
11
11
  begin
12
12
  text=File.read(filename)
13
-
14
13
  s=Kramdown::Document.new(text).to_confluence
15
14
  puts s
16
15
  rescue Exception => ex
@@ -116,7 +116,7 @@ module Kramdown
116
116
  def convert_html_element(el, indent)
117
117
  markup=case el.value
118
118
  when "iframe" then "{iframe:src=#{el.attr["src"]}}"
119
- when "pre" then "{{#{inner(el,indent)}}}"
119
+ when "pre" then "{code}#{inner(el,indent)}{code}"
120
120
  else inner(el, indent)
121
121
  end
122
122
  end
@@ -2,5 +2,5 @@ module Markdown2Confluence
2
2
  end
3
3
 
4
4
  unless defined?(Markdown2Confluence::VERSION)
5
- ::Markdown2Confluence::VERSION = "0.0.1d"
5
+ ::Markdown2Confluence::VERSION = "0.0.1e"
6
6
  end
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: 45
4
+ hash: 34
5
5
  prerelease: 5
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 1
10
- - d
11
- version: 0.0.1d
10
+ - e
11
+ version: 0.0.1e
12
12
  platform: ruby
13
13
  authors:
14
14
  - Patrick Debois