Author: Rhonda D'Vine <rhonda@debian.org>	vim:ft=diff:
Description: Message bodies starting off with ^< will get considered to
	be RawXML (without the leading ^)

Index: nagzilla-2.0/nagzillad.pl
===================================================================
--- nagzilla-2.0.orig/nagzillad.pl	2016-01-19 23:30:24.335376109 +0100
+++ nagzilla-2.0/nagzillad.pl	2016-01-20 00:04:57.000000000 +0100
@@ -305,6 +305,15 @@
 
 				}
 
+				# dirty hack to allow RawXML: message text starting off with ^<,
+				# strip off the ^
+				if ($mess =~ /^\^</) {
+					$log->write("--RawXML-- $style for $roomy ", 10);
+					$message->RemoveBody();
+					$mess =~ s/^\^</</;
+					$message->InsertRawXML($mess);
+				}
+
 				#Send message from STDIN -- probably should add some error handling
 				#There is some bug in at least ejabberd that causes messages to
 				#be sent "offline". They get flushed on nagzilla restart
