Remove new lines in the new & diff values of the update content
This commit is contained in:
parent
277854b596
commit
3c21f234d8
|
@ -179,14 +179,10 @@ impl Job {
|
||||||
.guid(Some(guid))
|
.guid(Some(guid))
|
||||||
.content(format!(r#"
|
.content(format!(r#"
|
||||||
New content at {}: <br>
|
New content at {}: <br>
|
||||||
<pre class="new-value">
|
<pre class="new-value">{}</pre>
|
||||||
{}
|
|
||||||
</pre>
|
|
||||||
<br><br>
|
<br><br>
|
||||||
Diff: <br>
|
Diff: <br>
|
||||||
<pre class="diff-value">
|
<pre class="diff-value">{}</pre>
|
||||||
{}
|
|
||||||
</pre>
|
|
||||||
"#,
|
"#,
|
||||||
update_time.format("%d/%m/%Y %H:%M"),
|
update_time.format("%d/%m/%Y %H:%M"),
|
||||||
value,
|
value,
|
||||||
|
|
Loading…
Reference in New Issue