documentation-editor 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7320c6bfda9dcfc05ff0ec7f79e8ec4d03e083a6
|
4
|
+
data.tar.gz: 39138134197e3cc0f104a2bd4481a874d15e3856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4957e7a1483dcb7129cedf5f42cd160e21a6d8b4a22a9fa745ec4da14f3720cbb0df0a55724f247a764f28bade9c5b295ce6914e8745ed737a030fb2a367bc3b
|
7
|
+
data.tar.gz: 4dd7112e024284f3c88216bf51537d95710642b7106a73c2a3e06b7e2fea291cb7e40de5e44a9cee32ef96612ed2cba8619048a919cf5069af83a31a360844ef
|
@@ -6,7 +6,7 @@ module DocumentationEditor
|
|
6
6
|
options = defaulted(options)
|
7
7
|
html = parse_document(options).to_html
|
8
8
|
# lower titles
|
9
|
-
html.gsub!(/<h([1-6])/) { |m| "
|
9
|
+
html.gsub!(/<(\/?)h([1-6])/) { |m| "<#{$1}h#{$2.to_i + 1}" } if DocumentationEditor::Config.lower_title_levels
|
10
10
|
# resolve the variables
|
11
11
|
html = resolve_variables(options, html)
|
12
12
|
# resolve the code condition block
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: documentation-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|