kielce 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kielce/kielce.rb +1 -1
- data/lib/kielce_plugins/schedule/schedule.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c3f77d063506dc5a2cc9cf05cf4e1533e4285be392626d011d772f3cc72899
|
4
|
+
data.tar.gz: 23d1b29068daa91274bbabab558a7ec34c31a03c14c7927b9c8209ff84450689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8a4b799e7003ffa4981af5593e06c131f6c1cbe9ed777a8726e62dbde7dac09bfffcac775e7967a49a1f876aa017150ea409bc5a5de3fb4683de7875db28d48
|
7
|
+
data.tar.gz: 1d4dbf33350ad953b1552cc3efba048f88992e58cfff88e27e6b5b08a97c3717b307cb42ef533bbf00ac9f554974f0e6c5753e1030a8bf5b4c0c0dfc7a403580
|
data/lib/kielce/kielce.rb
CHANGED
@@ -95,7 +95,7 @@ module Kielce
|
|
95
95
|
# another erb template. In order for such nested calls to work
|
96
96
|
# properly, each call must have a unique variable in which to
|
97
97
|
# store its output. This parameter is called "eoutvar". (If you
|
98
|
-
# don't
|
98
|
+
# don't specify eoutvar and make a nested call, the output
|
99
99
|
# can get messed up.)
|
100
100
|
@@render_count += 1
|
101
101
|
|
@@ -57,8 +57,9 @@ module KielcePlugins
|
|
57
57
|
link = $d.course.notesTemplates.method_missing(method, param)
|
58
58
|
else
|
59
59
|
link = link_rule
|
60
|
-
end
|
61
|
-
|
60
|
+
end
|
61
|
+
# Suppress links if text begins with xx.
|
62
|
+
text =~ /^xx/ ? '': "(<a target='_blank' href='#{link}'>#{text}</a>)"
|
62
63
|
end # end gsub
|
63
64
|
|
64
65
|
end # end if value is string
|