Fix matchInContainer false positives by tamo · Pull Request #1605 · hackmdio/codimd
The function should match only the beginnings of lines. For example, see this testcase: ``` :::spoiler here is a ::: ::: ::: ``` The last line should be completed. Without this patch, the third line is completed and the last is not. Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
simplify the regex suggested by yukaii in #1605 Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
tamo and others added 2 commits
May 13, 2021 11:41simplify the regex suggested by yukaii in #1605 Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com> Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
edgarogh pushed a commit to WartaPoirier-corp/codimd that referenced this pull request
Sep 21, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters