mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Dont show highlighting warning in 1.3.x. This is a "feature-like" change.
This commit is contained in:
@@ -20,6 +20,7 @@ Bugs fixed
|
|||||||
support parsers that specified source_parsers.
|
support parsers that specified source_parsers.
|
||||||
* #2290: Fix ``sphinx.ext.mathbase`` use of amsfonts may break user choice of math fonts
|
* #2290: Fix ``sphinx.ext.mathbase`` use of amsfonts may break user choice of math fonts
|
||||||
* #2324: Print a hint how to increase the recursion limit when it is hit.
|
* #2324: Print a hint how to increase the recursion limit when it is hit.
|
||||||
|
* #1565: Revert new warning; the new warning will be triggered from version 1.4 on.
|
||||||
|
|
||||||
|
|
||||||
Release 1.3.5 (released Jan 24, 2016)
|
Release 1.3.5 (released Jan 24, 2016)
|
||||||
|
|||||||
@@ -186,9 +186,7 @@ class PygmentsBridge(object):
|
|||||||
except ErrorToken as exc:
|
except ErrorToken as exc:
|
||||||
# this is most probably not the selected language,
|
# this is most probably not the selected language,
|
||||||
# so let it pass unhighlighted
|
# so let it pass unhighlighted
|
||||||
if warn:
|
if not warn:
|
||||||
warn('Could not parse literal_block as "%s". highlighting skipped.' % lang)
|
|
||||||
else:
|
|
||||||
raise exc
|
raise exc
|
||||||
hlsource = highlight(source, lexers['none'], formatter)
|
hlsource = highlight(source, lexers['none'], formatter)
|
||||||
if self.dest == 'html':
|
if self.dest == 'html':
|
||||||
|
|||||||
Reference in New Issue
Block a user