nesta-plugin-foldable 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,13 +30,9 @@ module Nesta
|
|
30
30
|
end
|
31
31
|
|
32
32
|
if body_text.include? '~~fold~~'
|
33
|
-
$stderr.puts body_text
|
34
33
|
summary_text = body_text.sub(/^[^\n]*~~fold~~.*\Z/m, '');
|
35
|
-
|
36
|
-
$stderr.puts "Summary: #{x}"
|
37
|
-
x
|
34
|
+
convert_to_html(@format, nil, summary_text)
|
38
35
|
else
|
39
|
-
$stderr.puts "#{heading}: no fold here"
|
40
36
|
nil
|
41
37
|
end
|
42
38
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nesta-plugin-foldable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Micah Chalmer
|