From 50dcf771b96221e4291e9a7438c7501e2ac64112 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 9 Dec 2016 16:01:24 -0600 Subject: [PATCH] Allow links in the message The negative matching group that's supposed to prevent the closing li tag from matching gets confused when there is a link in the text. It only matches up to the beginning of the link, but then there is no li closing tag after that, so hijinx ensue. Just replace it with a .* since the regex is already anchored by the closing li tag. Change-Id: I030b2f00189e1ffed9981b1c3e4540306517e1bf --- modules/openstack_project/manifests/review.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index 031383ba7a..0c298b0b46 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -177,7 +177,7 @@ class openstack_project::review ( }, { name => 'testresult', - match => '
  • ([^ ]+) ([^<]+) : ([^ ]+)([^<]*)
  • ', + match => '
  • ([^ ]+) ([^<]+) : ([^ ]+)(.*)
  • ', html => '
  • $1 $3$4
  • ', }, {