Skip to content

Commit

Permalink
Use the config instead of plain(), this makes more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
sftse committed Jan 5, 2025
1 parent 61f8567 commit 01dd84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2375,7 +2375,7 @@ pub mod config {
where
R: io::Read,
{
let dom = plain().parse_html(input)?;
let dom = self.parse_html(input)?;
let render_tree = super::dom_to_render_tree_with_context(
dom.document.clone(),
&mut io::sink(),
Expand Down

0 comments on commit 01dd84e

Please sign in to comment.