Closed PoiScript closed 2 years ago
Single right bracket in label is not rendering properly:
It happens because the parser is now taking every character until it reaches ] and checks if the remaining part starts with ]]:
]
]]
https://github.com/logseq/mldoc/blob/c0b5a837798d7e757b3f4eba162ba33999066fa2/lib/syntax/inline.ml#L627
I think the correct way should be taking every character until it reaches ]], something likes let label_part = take_until "]]".
let label_part = take_until "]]"
Finally, thank you for brilliant job! Logseq is really an awesome tool.
hi @PoiScript , thanks for reporting! Just sent a fix PR
Single right bracket in label is not rendering properly:
It happens because the parser is now taking every character until it reaches
]
and checks if the remaining part starts with]]
:https://github.com/logseq/mldoc/blob/c0b5a837798d7e757b3f4eba162ba33999066fa2/lib/syntax/inline.ml#L627
I think the correct way should be taking every character until it reaches
]]
, something likeslet label_part = take_until "]]"
.Finally, thank you for brilliant job! Logseq is really an awesome tool.