aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser
diff options
context:
space:
mode:
Diffstat (limited to 'parser')
-rw-r--r--parser/pageparser/pageparser.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/parser/pageparser/pageparser.go b/parser/pageparser/pageparser.go
index 768747907..8d4c757af 100644
--- a/parser/pageparser/pageparser.go
+++ b/parser/pageparser/pageparser.go
@@ -18,7 +18,6 @@ import (
"errors"
"fmt"
"io"
- "io/ioutil"
"regexp"
"strings"
@@ -100,7 +99,7 @@ func ParseMain(r io.Reader, cfg Config) (Result, error) {
}
func parseSection(r io.Reader, cfg Config, start stateFunc) (Result, error) {
- b, err := ioutil.ReadAll(r)
+ b, err := io.ReadAll(r)
if err != nil {
return nil, fmt.Errorf("failed to read page content: %w", err)
}