diff options
author | Ray Lehtiniemi <rayl@mail.com> | 2017-04-12 08:58:27 -0600 |
---|---|---|
committer | Ray Lehtiniemi <rayl@mail.com> | 2017-04-12 08:58:27 -0600 |
commit | 8fef1538a5c8a0432752bb74d51a6c7bb59801d6 (patch) | |
tree | 286c652e2e5441d22d8863bedceb9042d13a91e8 /sphinx/directives/code.py | |
parent | 1c4915f904ea1fd3b6471349329ea2a2e86f59e9 (diff) | |
download | sphinx-git-8fef1538a5c8a0432752bb74d51a6c7bb59801d6.tar.gz |
Fix typo in 'emphasize-lines'
Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Diffstat (limited to 'sphinx/directives/code.py')
-rw-r--r-- | sphinx/directives/code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index c08c233a7..efa44bc14 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -434,7 +434,7 @@ class LiteralInclude(Directive): 'lineno-match' in self.options) retnode['classes'] += self.options.get('class', []) extra_args = retnode['highlight_args'] = {} - if 'empahsize-lines' in self.options: + if 'emphasize-lines' in self.options: hl_lines = parselinenos(self.options['emphasize-lines'], lines) if any(i >= lines for i in hl_lines): logger.warning('line number spec is out of range(1-%d): %r' % |