wikiwah 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wikiwah/flow.rb +1 -1
- data/lib/wikiwah/version.rb +1 -1
- data/test/wikiwah/flow_tests.rb +1 -1
- metadata +3 -3
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
|
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}")
|
data/lib/wikiwah/version.rb
CHANGED
data/test/wikiwah/flow_tests.rb
CHANGED
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.
|
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:
|
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:
|
63
|
+
hash: 4314096252892190653
|
64
64
|
requirements: []
|
65
65
|
rubyforge_project:
|
66
66
|
rubygems_version: 1.8.23
|