diff options
| author | 2014-03-09 03:14:44 +0100 | |
|---|---|---|
| committer | 2014-03-09 03:14:44 +0100 | |
| commit | de1d7f85f5f67b269178ea05b7c59deb21ac1720 (patch) | |
| tree | 3125810eecb495e9ce216dd95561cd1dd3977235 /nikola/plugins/task/copy_assets.py | |
| parent | c14a6f46d2a76a9c228b6c2543939315068fad5f (diff) | |
| parent | fa50632a9d87c3989566fed3e49c160a132e0d14 (diff) | |
Merge tag 'upstream/6.4.0'
Upstream version 6.4.0
Diffstat (limited to 'nikola/plugins/task/copy_assets.py')
| -rw-r--r-- | nikola/plugins/task/copy_assets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nikola/plugins/task/copy_assets.py b/nikola/plugins/task/copy_assets.py index 21f1f85..93b7fb3 100644 --- a/nikola/plugins/task/copy_assets.py +++ b/nikola/plugins/task/copy_assets.py @@ -75,8 +75,8 @@ class CopyAssets(Task): formatter = get_formatter_by_name('html', style=kw["code_color_scheme"]) utils.makedirs(os.path.dirname(code_css_path)) with codecs.open(code_css_path, 'wb+', 'utf8') as outf: - outf.write(formatter.get_style_defs('.code')) - outf.write("table.codetable { width: 100%;} td.linenos {text-align: right; width: 4em;}") + outf.write(formatter.get_style_defs(['pre.code', 'div.code pre'])) + outf.write("\ntable.codetable { width: 100%;} td.linenos {text-align: right; width: 4em;}\n") task = { 'basename': self.name, |
