From 0af4af4669260e291cf335aaa3ae1e00f34d169d Mon Sep 17 00:00:00 2001 From: funkill2 Date: Thu, 18 Jul 2024 04:00:14 +0300 Subject: [PATCH] update original --- rustbook-en/packages/mdbook-trpl-listing/src/lib.rs | 2 +- rustbook-en/packages/mdbook-trpl-note/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rustbook-en/packages/mdbook-trpl-listing/src/lib.rs b/rustbook-en/packages/mdbook-trpl-listing/src/lib.rs index a1fbfb597..7be63e4ae 100644 --- a/rustbook-en/packages/mdbook-trpl-listing/src/lib.rs +++ b/rustbook-en/packages/mdbook-trpl-listing/src/lib.rs @@ -98,7 +98,7 @@ impl Preprocessor for TrplListing { } fn supports_renderer(&self, renderer: &str) -> bool { - renderer == "html" || renderer == "markdown" + renderer == "html" || renderer == "markdown" || renderer == "test" } } diff --git a/rustbook-en/packages/mdbook-trpl-note/src/lib.rs b/rustbook-en/packages/mdbook-trpl-note/src/lib.rs index 1508a566e..115641bac 100644 --- a/rustbook-en/packages/mdbook-trpl-note/src/lib.rs +++ b/rustbook-en/packages/mdbook-trpl-note/src/lib.rs @@ -49,7 +49,7 @@ impl Preprocessor for TrplNote { } fn supports_renderer(&self, renderer: &str) -> bool { - renderer == "html" || renderer == "markdown" + renderer == "html" || renderer == "markdown" || renderer == "test" } }