1
0
mirror of synced 2026-01-10 00:03:04 -05:00
Files
docs/lib
Jason Etcovitch bd63f47636 Remove cheerio from Page#render (#17566)
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean

* Move use-english-headings to be a plugin

* Bail if no englishHeadings were passed

* Install rehype-wrap

* Wrap ol > li img in div.procedural-image-wrapper

* Test for platform without cheerio

* Use a plugin for rewriteAssetPathsToS3

* Remove cheerio from page.render

* Fix require paths

* SImplify

* Fix some 🐛s

* Use our own rehype-wrap

* Move rewriteAssetPathsToS3 after HTML AST

* Remove some console logs

* Fix check for includesPlatformSpecificContent

* Rename ast => tree
2021-01-29 15:44:50 -05:00
..
2020-12-03 08:56:24 -08:00
2021-01-26 12:28:42 -05:00
2020-10-21 09:42:02 -07:00
2020-09-27 14:10:11 +02:00
2021-01-13 16:49:21 -05:00
2020-12-17 12:10:21 -05:00
2020-09-27 14:10:11 +02:00
2020-10-26 10:18:42 -07:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-12-15 15:02:03 -05:00
2020-11-02 15:12:44 -06:00