diff --git a/xtask/res/templates/runtime-calls-category.md b/xtask/res/templates/runtime-calls-category.md
index 2553bfb355d4981a29d4db5a6ce04048a221e4b7..448620c647330e91b219cc05e7990e027815e2d4 100644
--- a/xtask/res/templates/runtime-calls-category.md
+++ b/xtask/res/templates/runtime-calls-category.md
@@ -19,7 +19,8 @@ There are **{{ calls_counter }}** {{ category_name }} calls from **{{ pallets |
 ```
 </details>
 
-{{ call.documentation }}
+{# replace markdown sytax in documentation breaking the final result #}
+{{ call.documentation | replace(from="# WARNING:", to="WARNING"}}
 
 {% endfor -%}
 {% endfor -%}