From 355ea8b46e66320fddc892b658ff52b9bfec8984 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Mon, 11 Mar 2019 00:49:57 +0800 Subject: [PATCH] fix(export): make Escape struct field public --- src/export/html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export/html.rs b/src/export/html.rs index 12f5542..3eec63d 100644 --- a/src/export/html.rs +++ b/src/export/html.rs @@ -209,7 +209,7 @@ pub trait HtmlHandler { } } -pub struct Escape<'a>(&'a str); +pub struct Escape<'a>(pub &'a str); impl<'a> fmt::Display for Escape<'a> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {