markdownr 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18e8cbcc75e4fb58756514287b06b2824f56aafd336f9be4346d7846b8566b48
4
- data.tar.gz: 2f1d715b1f94a943212a59da5ee992c7ef575c85e6059caa51579a4fd172eb69
3
+ metadata.gz: 3218025cb46f3cb61158188eeea5957b3d797abb2c63970a9fa2c873b39da870
4
+ data.tar.gz: 36df70282be17b496d6e6706e568fc5c585adba12bba091cf534176ea56182a2
5
5
  SHA512:
6
- metadata.gz: 736446de4daffd8c1babdd82c307b3b0e46c3fb0fa5a08cf419429d7c119dc0763c6c9a0e95a7913abba6e0b291a5a085f8bb46258e614db102f8ff5c225494e
7
- data.tar.gz: 2eb655f06a7380c7f4477735ae28e84afd454c68354b18fdd6d572cc01d4c5daccd3986ae3f4b368564042542c6fbb0ef7167f15b18f13bf5d0b9caa80e8e98c
6
+ metadata.gz: 90edee3edf4003ebcf4605e0488db495e8d460964595944aa478e8be5a72d6b9c7dc0e276b855f0148c4113a2cf9360dc8ab6ea01f823b1061b3718bab76a67c
7
+ data.tar.gz: ad890bdaa976d1eb179fd9945656b27238103a93974cbf232950567ce08eaa87da2100e910bd33d9cbda0db8e67252275937fe8ff780f4abd0e34f2569e9cb15
@@ -159,12 +159,12 @@ module MarkdownServer
159
159
  %(<sup id="fnref:#{name}" role="doc-noteref"><a href="#fn:#{name}" class="footnote" rel="footnote">#{h(name)}</a></sup>)
160
160
  end
161
161
  end
162
- html.gsub(%r{<li id="fn:([^"]+)"[^>]*role="doc-endnote"[^>]*>\s*<p>}m) do
162
+ html.gsub(%r{<li id="fn:([^"]+)"[^>]*>\s*<p>}m) do
163
163
  name = $1
164
164
  if name =~ /\A\d+\z/
165
165
  $&
166
166
  else
167
- %(<li id="fn:#{name}" role="doc-endnote"><p><strong>#{h(name)}:</strong> )
167
+ %(<li id="fn:#{name}"><p><strong>#{h(name)}:</strong> )
168
168
  end
169
169
  end
170
170
  end
@@ -1,3 +1,3 @@
1
1
  module MarkdownServer
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/views/layout.erb CHANGED
@@ -713,6 +713,9 @@
713
713
  padding: 2rem 0;
714
714
  }
715
715
 
716
+ /* Footnote list — hide numeric markers; labels are inline via <strong> */
717
+ .footnotes ol { list-style: none; padding-left: 1.2em; }
718
+
716
719
  /* Footnote tooltips */
717
720
  .footnote-tooltip {
718
721
  position: absolute;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdownr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dunn