Unified · Split
| @@ -783,7 +783,7 @@ credits = [ · 782 unmodified lines | ||
| 783 | 783 | 'https://twig.symfony.com/license' |
| 784 | 784 | ], [ |
| 785 | 785 | 'TypeScript', |
| 786 | − '2012-2019 Microsoft', | |
| 786 | + '2012-2020 Microsoft', | |
| 787 | 787 | 'Apache', |
| 788 | 788 | 'https://raw.githubusercontent.com/Microsoft/TypeScript-Handbook/master/LICENSE' |
| 789 | 789 | ], [ |
| @@ -17,6 +17,13 @@ module Docs · 16 unmodified lines | ||
| 17 | 17 | node.name = 'h1' |
| 18 | 18 | end |
| 19 | 19 | |
| 20 | + css('a:contains("Try")').remove | |
| 21 | + css('pre').each do |node| | |
| 22 | + node.content = node.content | |
| 23 | + node['data-language'] = 'typescript' | |
| 24 | + node.remove_attribute('class') | |
| 25 | + end | |
| 26 | + | |
| 20 | 27 | # 'Next' title area |
| 21 | 28 | css('.whitespace-tight').remove |
| 22 | 29 | |