From 4db21f665c961a627c6b4b8f61cdfc9f0e6cc625 Mon Sep 17 00:00:00 2001
From: "Christopher J. Morrone" <morrone2@llnl.gov>
Date: Tue, 13 Dec 2005 19:44:22 +0000
Subject: [PATCH] Rewrite slurm.shtml href in map tag as well.

---
 doc/html/shtml2html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/html/shtml2html.py b/doc/html/shtml2html.py
index 054af1e0b84..8f550a9ffc7 100755
--- a/doc/html/shtml2html.py
+++ b/doc/html/shtml2html.py
@@ -7,7 +7,7 @@ import os
 include_pat = r'(<!--\s*#include\s*virtual\s*=\s*"([^"]+)"\s*-->)'
 include_regex = re.compile(include_pat)
 
-url_pat = r'(<\s*a\s*href\s*=\s*")([^"]+)(.*?>)'
+url_pat = r'(\s+href\s*=\s*")([^"]+)(")'
 url_regex = re.compile(url_pat)
 
 def include_virtual(matchobj):
-- 
GitLab