wikiwah 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/wikiwah/flow.rb CHANGED
@@ -114,7 +114,7 @@ module WikiWah
114
114
  lang = $2
115
115
  push_context('pre',indent.size)
116
116
  block = strip_prefix(indent + "| ", $')
117
- write_html(%(<code lang="#{lang}">) + CGI.escapeHTML(block) + "</code>")
117
+ write_html(%(<code class="#{lang}">) + CGI.escapeHTML(block) + "</code>")
118
118
  when /\A( *)(=+) / # heading
119
119
  flush_context_stack
120
120
  write_tag($', "h#{$2.size}")
@@ -1,3 +1,3 @@
1
1
  module WikiWah
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
@@ -181,7 +181,7 @@ more code
181
181
  | more code
182
182
  ----
183
183
  <pre>
184
- <code lang="fnordscript">code
184
+ <code class="fnordscript">code
185
185
 
186
186
  more code
187
187
  </code></pre>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wikiwah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  segments:
53
53
  - 0
54
- hash: 1183097445060914495
54
+ hash: 4314096252892190653
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: 1183097445060914495
63
+ hash: 4314096252892190653
64
64
  requirements: []
65
65
  rubyforge_project:
66
66
  rubygems_version: 1.8.23