mirror of https://github.com/status-im/codimd.git
Merge pull request #1605 from tamo/patch-1
This commit is contained in:
commit
4b78202494
|
@ -3137,7 +3137,7 @@ function checkInContainerSyntax () {
|
||||||
|
|
||||||
function matchInContainer (text) {
|
function matchInContainer (text) {
|
||||||
var match
|
var match
|
||||||
match = text.match(/:{3,}/g)
|
match = text.match(/^:::/gm)
|
||||||
if (match && match.length % 2) {
|
if (match && match.length % 2) {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue