isodoc 1.1.3 → 1.1.4

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
  SHA256:
3
- metadata.gz: 51829acf741b07dd3c2ab2be2d56ca10aa26f32cd45830c53fe53a0ac26c8ad5
4
- data.tar.gz: f7e70d7ca7b40958a35799f564c05b0a3d5342efdf3c6e3dd5e41536a7bb9825
3
+ metadata.gz: 8c7c8cd474b9df23e50d6f4f606bfccf2ed246dae1f020b5df2c6dfc3d06ebaa
4
+ data.tar.gz: 3a4e90f29696b21966b76422d757360f949d2d57b9435caa43a318515d353430
5
5
  SHA512:
6
- metadata.gz: e2ff423a107d6b06cc723c943ac2311513c78a46d8b63f4ded2e8b7ebf94794d00796ef2b52ad2921dc1efd97cbba8bc43b29b0e8091b2c9430627db67a75f4f
7
- data.tar.gz: ec09dbbcf25e13bb08352f49d77c1565473f768af554a3d2b1b7311b0862f63e730fee0f69b7af82f99ce8f3a020b3088b429ed253a9852708138867dd848519
6
+ metadata.gz: '090f97f36021765785b5b6600b6086b00654276b151485f3052484af051fd244ad8bc229a641d8dda61d8da2d347f2c94129362cc4274be4101f8815aa5546f3'
7
+ data.tar.gz: ec0e7c2dca7e3313c5931454e787c8bbdebb68eb4a5f682ade46e667f45fe413481df2b850bb74fd6bc8f11496ed128c9131396fcaac265dc2dcb76047aed66b
@@ -38,15 +38,9 @@ module IsoDoc
38
38
  @options = options
39
39
  @files_to_delete = []
40
40
  @tempfile_cache = []
41
- @htmlstylesheet_name = precompiled_style_or_original(
42
- options[:htmlstylesheet]
43
- )
44
- @wordstylesheet_name = precompiled_style_or_original(
45
- options[:wordstylesheet]
46
- )
47
- @standardstylesheet_name = precompiled_style_or_original(
48
- options[:standardstylesheet]
49
- )
41
+ @htmlstylesheet_name = options[:htmlstylesheet]
42
+ @wordstylesheet_name = options[:wordstylesheet]
43
+ @standardstylesheet_name = options[:standardstylesheet]
50
44
  @header = options[:header]
51
45
  @htmlcoverpage = options[:htmlcoverpage]
52
46
  @wordcoverpage = options[:wordcoverpage]
@@ -180,6 +174,7 @@ module IsoDoc
180
174
  def generate_css(filename, stripwordcss)
181
175
  return nil if filename.nil?
182
176
 
177
+ filename = precompiled_style_or_original(filename)
183
178
  stylesheet = File.read(filename, encoding: 'UTF-8')
184
179
  stylesheet = populate_template(stylesheet, :word)
185
180
  stylesheet.gsub!(/(\s|\{)mso-[^:]+:[^;]+;/m, '\\1') if stripwordcss
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "1.1.3".freeze
2
+ VERSION = "1.1.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-26 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath