- Commit
- ce5671ae0289b05322c09bb80af2d3317acd544f
- Parent
- 0d546c29f28f6c185105a06d0fb3669f7647b9f2
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Removed redundant check.
My personal build of CMark ✏️
Removed redundant check.
1 file changed, 0 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 0 | 2 |
diff --git a/src/inlines.c b/src/inlines.c @@ -509,8 +509,6 @@ static void process_emphasis(subject *subj, delimiter *stack_bottom) { // interior closer of size 2 can't match opener of size 1 // or of size 1 can't match 2 odd_match = (closer->can_open || opener->can_close) && - opener->inl_text->as.literal.len != - closer->inl_text->as.literal.len && ((opener->inl_text->as.literal.len + closer->inl_text->as.literal.len) % 3 == 0); if (opener->delim_char == closer->delim_char && opener->can_open &&