Skip to content

Commit 7fe90a7

Browse files
committed
fix(rewriter): don't wrap eveything in em
1 parent d591e31 commit 7fe90a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/rari-doc/src/html/rewriter.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@ pub fn post_process_html<T: PageLike>(
322322
Ok(())
323323
}),
324324
element!("*[data-sourcepos]", |el| {
325-
el.prepend("<em>", ContentType::Html);
326-
el.append("</em>", ContentType::Html);
327325
el.remove_attribute("data-sourcepos");
328326
Ok(())
329327
}),

0 commit comments

Comments
 (0)