matrix html
This commit is contained in:
parent
b06655f7bd
commit
efaeba15c3
@ -769,7 +769,7 @@
|
||||
then
|
||||
if [ -p "/usr/local/share/$(hostname).fifo" ]
|
||||
then
|
||||
matrix_message=$(echo "${subj}<br>${orig_message}")
|
||||
matrix_message=$(echo "<h2>${subj}</h2><br><pre>${orig_message}</pre>")
|
||||
matrix_target="/usr/local/share/$(hostname).fifo"
|
||||
[ -n "$togroup" ] && [ -p "/usr/local/share/$(hostname)-${togroup}.fifo" ] && matrix_target="/usr/local/share/$(hostname)-${togroup}.fifo"
|
||||
echo "$matrix_message" | perl -pe 's/\n/<br>/' | perl -pe 's/\<br\>$/\n/; s/^\<br\>//;' >"$matrix_target"
|
||||
|
Loading…
Reference in New Issue
Block a user