Show More
@@ -542,6 +542,16 b' class EmbeddedSphinxShell(object):' | |||
|
542 | 542 | else: |
|
543 | 543 | self.custom_doctest(decorator, input_lines, found, submitted) |
|
544 | 544 | |
|
545 | # Make sure output is processed when in verbatim mode. | |
|
546 | # https://github.com/ipython/ipython/issues/5776 | |
|
547 | is_verbatim = decorator=='@verbatim' or self.is_verbatim | |
|
548 | if is_verbatim: | |
|
549 | out_data = data | |
|
550 | else: | |
|
551 | out_data = None | |
|
552 | ||
|
553 | return out_data | |
|
554 | ||
|
545 | 555 | def process_comment(self, data): |
|
546 | 556 | """Process data fPblock for COMMENT token.""" |
|
547 | 557 | if not self.is_suppress: |
General Comments 0
You need to be logged in to leave comments.
Login now