Loading markdownTools/processMDSpec.py +4 Changes for markdownTools/processMDSpec.py: 4 added lines, 0 removed lines. Original line number Original line Diff line number Diff line Loading @@ -86,6 +86,10 @@ 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 if "@" in linkPath: continue # Construct the new path by adding addedPath to the original path # Construct the new path by adding addedPath to the original path newLinkPath = linkPath[2:] if linkPath.startswith('./') else linkPath newLinkPath = linkPath[2:] if linkPath.startswith('./') else linkPath Loading Loading
markdownTools/processMDSpec.py +4 Changes for markdownTools/processMDSpec.py: 4 added lines, 0 removed lines. Original line number Original line Diff line number Diff line Loading @@ -86,6 +86,10 @@ 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 if "@" in linkPath: continue # Construct the new path by adding addedPath to the original path # Construct the new path by adding addedPath to the original path newLinkPath = linkPath[2:] if linkPath.startswith('./') else linkPath newLinkPath = linkPath[2:] if linkPath.startswith('./') else linkPath Loading