mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typo in 'emphasize-lines'
Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
This commit is contained in:
parent
1c4915f904
commit
8fef1538a5
@ -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' %
|
||||
|
Loading…
Reference in New Issue
Block a user