Fixes #203.
Showing the changes to lib/docs/filters/python (1 of 3 files). Show all
Unified · Split
| @@ -51,7 +51,7 @@ module Docs · 50 unmodified lines | ||
| 51 | 51 | end |
| 52 | 52 | |
| 53 | 53 | # Remove code highlighting |
| 54 | − css('.highlight-python3').each do |node| | |
| 54 | + css('[class*="highlight-python"]').each do |node| | |
| 55 | 55 | pre = node.at_css('pre') |
| 56 | 56 | pre.content = pre.content |
| 57 | 57 | pre['class'] = 'python' |