Commit e4f5e2da authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Adding empty line after TOC

parent 9ad0e7d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ def correctTOC(progress:Progress, mdLines:list[str], tocSection:str = 'Contents'
		if _inTOC:
			if line.startswith('#'):	# End of TOC?
				_inTOC = False
				_lines.append(f'\n')
				_lines.append(line)
				continue
			matches = re.findall(tocregex, line)	# Replace entry