xlsx: import shared append escaping only for tests

This commit is contained in:
Dylan M. Taylor committed 2026-11-15 14:07:48 -05:00
1 parent d593a8f99d
commit f22b4ed9dd
1 file changed
+3 -1
+3 -1
View File
@@ -361,7 +361,9 @@ pub fn parse_streaming(xml: &[u8], split: &[&str], cb: &mut dyn FnMut(El) -> Res
// XML 1.0 byte escaping is shared; spreadsheet string and phonetic policy stays here.
use craft_xml::is_xml_char;
pub use craft_xml::{esc, esc_attr, push_esc};
#[cfg(test)]
use craft_xml::push_esc;
pub use craft_xml::{esc, esc_attr};
/// Appends `n` in decimal.
pub fn push_u64(o: &mut String, mut n: u64) {