Loading markdownTools/processMDSpec.py +2 −2 Changes for markdownTools/processMDSpec.py: 2 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -128,8 +128,8 @@ def expandPaths(lines:list[str], currentPath:str, childPath:str) -> list[str]: if linkPath.startswith(('http://', 'https://', '/')): if linkPath.startswith(('http://', 'https://', '/')): continue continue # Skip email addresses # Skip email addresses or internal links if '@' in linkPath: if '@' in linkPath or linkPath.startswith('#'): continue continue # Construct the new path by adding addedPath to the original path # Construct the new path by adding addedPath to the original path Loading Loading
markdownTools/processMDSpec.py +2 −2 Changes for markdownTools/processMDSpec.py: 2 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -128,8 +128,8 @@ def expandPaths(lines:list[str], currentPath:str, childPath:str) -> list[str]: if linkPath.startswith(('http://', 'https://', '/')): if linkPath.startswith(('http://', 'https://', '/')): continue continue # Skip email addresses # Skip email addresses or internal links if '@' in linkPath: if '@' in linkPath or linkPath.startswith('#'): continue continue # Construct the new path by adding addedPath to the original path # Construct the new path by adding addedPath to the original path Loading