Fix unbalanced anchor tags
This commit is contained in:
parent
dfa835178f
commit
cb24837ff0
6 changed files with 88 additions and 26 deletions
|
|
@ -9,6 +9,10 @@ impl Paragraph {
|
|||
pub fn new(open: bool) -> Paragraph {
|
||||
Paragraph { open: Some(open) }
|
||||
}
|
||||
|
||||
pub fn probe_end(lexeme: &Lexeme) -> bool {
|
||||
lexeme.match_as_char('\n') && lexeme.match_next_as_char('\n')
|
||||
}
|
||||
}
|
||||
|
||||
impl Parseable for Paragraph {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue