aboutsummaryrefslogtreecommitdiffstats
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/string.rs1
-rw-r--r--src/content/text.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/content/string.rs b/src/content/string.rs
index cc8ee53..f2650df 100644
--- a/src/content/string.rs
+++ b/src/content/string.rs
@@ -19,6 +19,7 @@ use crate::construct::{
use crate::tokenizer::{Code, State, StateFnResult, Tokenizer};
const MARKERS: [Code; 5] = [
+ // To do: build this vec based on whether they are enabled?
Code::VirtualSpace, // `whitespace`
Code::Char('\t'), // `whitespace`
Code::Char(' '), // `whitespace`
diff --git a/src/content/text.rs b/src/content/text.rs
index cf630f1..f797b11 100644
--- a/src/content/text.rs
+++ b/src/content/text.rs
@@ -58,6 +58,7 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
Code::None => (State::Ok, None),
_ => tokenizer.attempt_n(
vec![
+ // To do: build this vec based on whether they are enabled?
Box::new(attention),
Box::new(autolink),
Box::new(character_escape),