##// END OF EJS Templates
Fixes #7503 - Cell magics fail to switch the language...
Lev Abalkin -
Show More
@@ -113,7 +113,7 b" def _pygments_highlight(source, output_formatter, language='ipython', metadata=N"
113
113
114 # If the cell uses a magic extension language,
114 # If the cell uses a magic extension language,
115 # use the magic language instead.
115 # use the magic language instead.
116 if language == 'ipython' \
116 if language.startswith('ipython') \
117 and metadata \
117 and metadata \
118 and 'magics_language' in metadata:
118 and 'magics_language' in metadata:
119
119
General Comments 0
You need to be logged in to leave comments. Login now