mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-15 23:02:22 +00:00
xlsx: import shared append escaping only for tests
This commit is contained in:
1 parent
d593a8f99d
commit
f22b4ed9dd
1 file changed
+3
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user