diff --git a/doc/Extensions/Alerting.md b/doc/Extensions/Alerting.md
index e2f5a9ae3..1cef41509 100644
--- a/doc/Extensions/Alerting.md
+++ b/doc/Extensions/Alerting.md
@@ -99,7 +99,7 @@ The template-parser understands `if` and `foreach` controls and replaces certain
Controls:
- if-else (Else can be omitted):
-`{if %placeholder == 'value'}Some Text{else}Other Text{/if}`
+`{if %placeholder == value}Some Text{else}Other Text{/if}`
- foreach-loop:
`{foreach %placeholder}Key: %key
Value: %value{/foreach}`
@@ -139,7 +139,7 @@ Alert sent to: {foreach %contacts}%value <%key> {/foreach}
Conditional formatting example, will display a link to the host in email or just the hostname in any other transport:
```text
-{if %transport == 'mail'}%hostname{else}%hostname{/if}
+{if %transport == mail}%hostname{else}%hostname{/if}
```
# Transports