softcover 1.1.16 → 1.1.17

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: 020378d75c283f802c7f328dc7721bcb7b916249
4
- data.tar.gz: d4de25a94d8ddb180cb00d77972a38b651d98abe
3
+ metadata.gz: e9ecd8397f7b90187f02cac5a389639ce36f5033
4
+ data.tar.gz: 76844e2a405f8ce009b7088e8561b1e4d16ad935
5
5
  SHA512:
6
- metadata.gz: 857614e9678f5582cffaa0ec815943106ecbed99b6e75917d232477b896135522979b85bfba774f5305dfd27e744ecd1165dd4f7b0adb66e55e3495dfc2ce0fb
7
- data.tar.gz: 19b9b503f2b15cf3fb001302ff23474281a6cfd8bff6d6d3e77e9fa1e3e1900baa3e2f395e9714a6c152846df36f63316e68df4c3594e97476bbc052f5319cd2
6
+ metadata.gz: a1d495c72c7279c5c76b86c76214d1f352dfbb29051078a66196e3761f9cc0917d7002056fb0a7f203f5f2a42f03f28ec4206d673965e3e863fe9b92b04f84a2
7
+ data.tar.gz: 3f13e9d907d3942ef63e752c8b7083bcfee0bbd8e2a7d1d6b2376615901ebb0530481e7db8b23698bcfa1c90fb77addb71c51f96c90e5afd1add97a26394a7a1
@@ -212,7 +212,7 @@ body #book {
212
212
 
213
213
  #book .caption {
214
214
  font-size: 0.85em;
215
- font-style: italic;
215
+ /*font-style: italic;*/
216
216
  text-align: center;
217
217
  margin-bottom: 3em;
218
218
  margin-top: 1em;
@@ -107,7 +107,7 @@
107
107
  }{\par\unskip\@minipagefalse\endMakeFramed}
108
108
 
109
109
  % Caption styling
110
- \usepackage[font={it,small}]{caption}
110
+ % \usepackage[font={it,small}]{caption}
111
111
 
112
112
  % Codelistings
113
113
  \newcounter{codelisting}
@@ -212,7 +212,7 @@ body #book {
212
212
 
213
213
  #book .caption {
214
214
  font-size: 0.85em;
215
- font-style: italic;
215
+ /*font-style: italic;*/
216
216
  text-align: center;
217
217
  margin-bottom: 3em;
218
218
  margin-top: 1em;
@@ -107,7 +107,7 @@
107
107
  }{\par\unskip\@minipagefalse\endMakeFramed}
108
108
 
109
109
  % Caption styling
110
- \usepackage[font={it,small}]{caption}
110
+ % \usepackage[font={it,small}]{caption}
111
111
 
112
112
  % Codelistings
113
113
  \newcounter{codelisting}
@@ -10,9 +10,11 @@ module Softcover
10
10
  def clean(html)
11
11
  return unless html
12
12
 
13
+ # Make a whitelist of acceptable elements and attributes.
13
14
  sanitize_options = {
14
15
  elements: %w{div span p a ul ol li h1 h2 h3 h4
15
- pre em sup table tbody thead tr td img code strong blockquote},
16
+ pre em sup table tbody thead tr td img code strong
17
+ blockquote small},
16
18
  remove_contents: %w{script},
17
19
  attributes: {
18
20
  'div' => %w{id class data-tralics-id data-number data-chapter},
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.1.16"
2
+ VERSION = "1.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softcover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.16
4
+ version: 1.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-18 00:00:00.000000000 Z
12
+ date: 2015-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: polytexnic