Skip to content

Commit f57ece1

Browse files
fix: case where setting start as __START__ would break the end pattern
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
1 parent 0033b79 commit f57ece1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MdXLogseqTODOSync/MdXLogseqTODOSync.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ def process_input(self) -> list[str]:
169169
# Check for delimiter markers
170170
if start_delim == "__START__":
171171
inside_section = True
172+
start_delim = "a"
173+
while start_delim in content:
174+
start_delim *= 2
172175
elif re.findall(start_delim, block_content):
173176
inside_section = True
174177
continue

0 commit comments

Comments
 (0)