X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fbackend%2Fblog.py;fp=src%2Fbackend%2Fblog.py;h=094a565ffbfac2bb65786127195cbd9598feb3f1;hb=a77a9c0a61afdd48015399c2b55751deb514e097;hp=f87c71c8d02177667c9a0095f7df2b4fa6b8bb55;hpb=2b198178d57797ed2bc2b00a40f9098517a6910a;p=ipfire.org.git diff --git a/src/backend/blog.py b/src/backend/blog.py index f87c71c8..094a565f 100644 --- a/src/backend/blog.py +++ b/src/backend/blog.py @@ -366,7 +366,7 @@ class PrettyLinksExtension(markdown.extensions.Extension): class BugzillaLinksPreprocessor(markdown.preprocessors.Preprocessor): - regex = re.compile(r"(?:#(\d+))", re.I) + regex = re.compile(r"(?:#(\d{5,}))", re.I) def run(self, lines): for line in lines: