diff options
author | 2022-07-04 15:21:11 +0200 | |
---|---|---|
committer | 2022-07-04 15:21:11 +0200 | |
commit | 0450e7c2b12bd3ef53e0cffb60a3dd860325b478 (patch) | |
tree | cc73bb48ae6102b27b7b864f13585eb77ef86c2c /src/compiler.rs | |
parent | 8eb4631bd7c4345ec2a0c9b2ca2e05bdb1d79dd7 (diff) | |
download | markdown-rs-0450e7c2b12bd3ef53e0cffb60a3dd860325b478.tar.gz markdown-rs-0450e7c2b12bd3ef53e0cffb60a3dd860325b478.tar.bz2 markdown-rs-0450e7c2b12bd3ef53e0cffb60a3dd860325b478.zip |
Add support for unicode punctuation
Diffstat (limited to 'src/compiler.rs')
-rw-r--r-- | src/compiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index b0061ce..2c6fe68 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -1,5 +1,4 @@ //! Turn events into a string of HTML. -use std::collections::HashMap; use crate::constant::{SAFE_PROTOCOL_HREF, SAFE_PROTOCOL_SRC}; use crate::construct::character_reference::Kind as CharacterReferenceKind; use crate::tokenizer::{Code, Event, EventType, TokenType}; @@ -10,6 +9,7 @@ use crate::util::{ sanitize_uri::sanitize_uri, span::{codes as codes_from_span, from_exit_event, serialize}, }; +use std::collections::HashMap; /// Type of line endings in markdown. #[derive(Debug, Clone, PartialEq)] |