diff --git a/Web-documentation/all_contents.html.twig b/Web-documentation/all_contents.html.twig index 05e171c..f65fd02 100644 --- a/Web-documentation/all_contents.html.twig +++ b/Web-documentation/all_contents.html.twig @@ -110,7 +110,7 @@
{{ methodGroup.description }}
+{{ methodGroup.description | escape }}
{% endif %} {% if methodGroup.baseUrl is not empty %}BaseUrl: {{ methodGroup.baseUrl }}
diff --git a/Web-documentation/blocks/class-body.html.twig b/Web-documentation/blocks/class-body.html.twig index 5406880..832ad62 100644 --- a/Web-documentation/blocks/class-body.html.twig +++ b/Web-documentation/blocks/class-body.html.twig @@ -1,7 +1,7 @@{{ structure.description }}
+{{ structure.description | escape }}
{{ structure.description }}
+{{ structure.description | escape }}
{{ method.type }} {{ method.url }}
@@ -120,7 +120,7 @@ {% else %} {% for value in method.errorsEnumeration.values -%} {%- if value.value in method.errorsEnumeration.allowedValues %} -#Код {{ value.value }} — {{ value.description }}
+#Код {{ value.value }} — {{ value.description | escape }}
{%- endif -%} {%- endfor %} {% endif %} @@ -130,7 +130,7 @@Результат отсутствует
{% else %} {% if method.booleanResponseDescription is not empty %} -{{ method.booleanResponseDescription }}. Тип Boolean.
+{{ method.booleanResponseDescription | escape }}. Тип Boolean.
{% elseif method.responseFields is not empty %}Объект следующей структуры:
diff --git a/Web-documentation/blocks/versioning-info.html.twig b/Web-documentation/blocks/versioning-info.html.twig index 7c8b120..19ef101 100644 --- a/Web-documentation/blocks/versioning-info.html.twig +++ b/Web-documentation/blocks/versioning-info.html.twig @@ -19,7 +19,7 @@ { "result": null "error_code": {{ outOfDateError.value }}, - "error_message": "{{ outOfDateError.description }}" + "error_message": "{{ outOfDateError.description | escape }}" } diff --git a/Web-documentation/errors.html.twig b/Web-documentation/errors.html.twig index 87aa8ff..1929bc0 100644 --- a/Web-documentation/errors.html.twig +++ b/Web-documentation/errors.html.twig @@ -1,44 +1,44 @@ -{%- include 'blocks/head.html.twig' with { title: pageTitle, cssFolderPath: cssFolderPath } %} - -