markus 4.0.8 → 4.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/markus.rb +3 -3
- data/markus.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee191095d8b19bb082a6103fa6499d77b7326445
|
4
|
+
data.tar.gz: 652719443e696164528d23ce29f08c78165467d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92bb414f56c1f92526af438dfd53051bc818aa00253679c01fcd12a28b6fa0bf90cf7f61752cc3e286e4e6a9c68ef257b60125218cd4e49a67b238b6ec97950b
|
7
|
+
data.tar.gz: e109bbc3eaeedf294165ce6fa77682343af4a7047433f52c4e0ebfbb7ce1ead84eaa018d5b73c6f69e9bd3eaa9d337373bf5ee7b8f6cfc30c446d8a0589170a4
|
data/lib/markus.rb
CHANGED
@@ -218,24 +218,24 @@ class MarkUS
|
|
218
218
|
@__markus_level -= 1
|
219
219
|
@__markus_parent = mpsic
|
220
220
|
else
|
221
|
-
if
|
221
|
+
if @__markus_parent == :a
|
222
|
+
@__markus_level += 1
|
222
223
|
if self.class.__markus_indent
|
223
224
|
@__markus_buffer << "#{" " * @__markus_level}{"
|
224
225
|
else
|
225
226
|
@__markus_buffer << "{"
|
226
227
|
end
|
227
|
-
@__markus_level += 1
|
228
228
|
if self.class.__markus_indent
|
229
229
|
@__markus_buffer << "#{" " * (@__markus_level+1)}\"#{tname}\": #{attrs || content}"
|
230
230
|
else
|
231
231
|
@__markus_buffer << "\"#{tname}\": #{attrs || content}"
|
232
232
|
end
|
233
|
-
@__markus_level -= 1
|
234
233
|
if self.class.__markus_indent
|
235
234
|
@__markus_buffer << "#{" " * @__markus_level}},"
|
236
235
|
else
|
237
236
|
@__markus_buffer << "},"
|
238
237
|
end
|
238
|
+
@__markus_level -= 1
|
239
239
|
else
|
240
240
|
if self.class.__markus_indent
|
241
241
|
@__markus_buffer << "#{" " * (@__markus_level+1)}\"#{tname}\": #{attrs || content},"
|
data/markus.gemspec
CHANGED