diff --git a/website/docs/basics/loading.md b/website/docs/basics/loading.md index cd7ca415fe..e89e66ff94 100644 --- a/website/docs/basics/loading.md +++ b/website/docs/basics/loading.md @@ -47,9 +47,7 @@ Here's an example of how to use the load method: ```js import * as cheerio from 'cheerio'; -const $ = cheerio.load( - 'Hello, world!', -); +const $ = cheerio.load('

Hello, world!

'); console.log($('h1').text()); // Output: Hello, world!