aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-07 17:56:37 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-07 17:56:37 +0200
commit1c3b6e900d9b23e8a1f34f1c5b7b9657bd7c1451 (patch)
treed35d3b539ce32ae97c52a40628d2ebcc8769b7b2 /src/construct
parent0e58191dd7cdbdc632866c8315117ccc68103aad (diff)
downloadmarkdown-rs-1c3b6e900d9b23e8a1f34f1c5b7b9657bd7c1451.tar.gz
markdown-rs-1c3b6e900d9b23e8a1f34f1c5b7b9657bd7c1451.tar.bz2
markdown-rs-1c3b6e900d9b23e8a1f34f1c5b7b9657bd7c1451.zip
Add docs for block quote tokens
Diffstat (limited to 'src/construct')
-rw-r--r--src/construct/block_quote.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/construct/block_quote.rs b/src/construct/block_quote.rs
index 048ff53..a3ffbc7 100644
--- a/src/construct/block_quote.rs
+++ b/src/construct/block_quote.rs
@@ -20,9 +20,9 @@
//! ## Tokens
//!
//! * [`BlockQuote`][TokenType::BlockQuote]
-//! * [`BlockQuotePrefix`][TokenType::BlockQuotePrefix]
//! * [`BlockQuoteMarker`][TokenType::BlockQuoteMarker]
-//! * [`BlockQuotePrefixWhitespace`][TokenType::BlockQuotePrefixWhitespace]
+//! * [`BlockQuotePrefix`][TokenType::BlockQuotePrefix]
+//! * [`BlockQuoteWhitespace`][TokenType::BlockQuoteWhitespace]
//!
//! ## References
//!
@@ -101,9 +101,9 @@ fn cont_before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
fn cont_after(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
match code {
Code::VirtualSpace | Code::Char('\t' | ' ') => {
- tokenizer.enter(TokenType::BlockQuotePrefixWhitespace);
+ tokenizer.enter(TokenType::BlockQuoteWhitespace);
tokenizer.consume(code);
- tokenizer.exit(TokenType::BlockQuotePrefixWhitespace);
+ tokenizer.exit(TokenType::BlockQuoteWhitespace);
tokenizer.exit(TokenType::BlockQuotePrefix);
(State::Ok, None)
}