aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/blank_line.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-01 10:17:25 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-01 10:17:25 +0200
commit82221ba13d2a4ccd119f280aaa3cea9ca2c8fdaf (patch)
tree5a9fe3ad27ab001e613d6e50c1dd67041862ce3a /src/construct/blank_line.rs
parent0eeff9148e327183e532752f46421a75506dd7a6 (diff)
downloadmarkdown-rs-82221ba13d2a4ccd119f280aaa3cea9ca2c8fdaf.tar.gz
markdown-rs-82221ba13d2a4ccd119f280aaa3cea9ca2c8fdaf.tar.bz2
markdown-rs-82221ba13d2a4ccd119f280aaa3cea9ca2c8fdaf.zip
Refactor some states
Diffstat (limited to 'src/construct/blank_line.rs')
-rw-r--r--src/construct/blank_line.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/construct/blank_line.rs b/src/construct/blank_line.rs
index f397a48..c4eacf5 100644
--- a/src/construct/blank_line.rs
+++ b/src/construct/blank_line.rs
@@ -40,9 +40,9 @@ use crate::tokenizer::{State, Tokenizer};
/// > 👉 **Note**: `␠` represents a space character.
///
/// ```markdown
-/// > | ␠␠
+/// > | ␠␠␊
/// ^
-/// > |
+/// > | ␊
/// ^
/// ```
pub fn start(tokenizer: &mut Tokenizer) -> State {
@@ -52,9 +52,9 @@ pub fn start(tokenizer: &mut Tokenizer) -> State {
/// After zero or more spaces or tabs, before a line ending or EOF.
///
/// ```markdown
-/// > | ␠␠
+/// > | ␠␠␊
/// ^
-/// > |
+/// > | ␊
/// ^
/// ```
fn after(tokenizer: &mut Tokenizer) -> State {