*** bbd.c.orig 2005-02-07 17:07:45.000000000 -0500 --- bbd.c.adp 2005-02-07 17:07:16.000000000 -0500 *************** *** 1190,1195 **** --- 1190,1199 ---- replacestr(msgbuf,sizeof(msgbuf),"<","ltLT"); replacestr(msgbuf,sizeof(msgbuf),">","gtGT"); } + if( (strstr(runopts,"LTGTALLOWED") != NULL) ) { + replacestr(msgbuf,sizeof(msgbuf),"<","LtlT"); + replacestr(msgbuf,sizeof(msgbuf),">","GtgT"); + } /* Do we remove $CLEANCHARS from the incoming string ? */ if( cleanchars && (strlen(cleanchars) > 0) ) { *************** *** 1225,1230 **** --- 1229,1239 ---- replacestr(msgbuf,sizeof(msgbuf),"ltLT","<"); replacestr(msgbuf,sizeof(msgbuf),"gtGT",">"); } + /* Reset < ang > tags if allowed */ + if( (strstr(runopts,"LTGTALLOWED") != NULL) ) { + replacestr(msgbuf,sizeof(msgbuf),"LtlT","<"); + replacestr(msgbuf,sizeof(msgbuf),"GtgT",">"); + } if( strlen(bbrelays) > 0 ) {