diff --git a/src/accounting/templates/accounting/include/nav.html b/src/accounting/templates/accounting/include/nav.html
index f3e5b07..3ce5ff7 100644
--- a/src/accounting/templates/accounting/include/nav.html
+++ b/src/accounting/templates/accounting/include/nav.html
@@ -19,6 +19,7 @@ nav.html: The navigation menu for the accounting application.
Author: imacat@mail.imacat.idv.tw (imacat)
First written: 2023/1/26
#}
+{#
For SonarQube not to complain about incorrect HTML #}
{% if accounting_can_view() %}
@@ -53,3 +54,4 @@ First written: 2023/1/26
{% endif %}
+{# For SonarQube not to complain about incorrect HTML #}
diff --git a/src/accounting/templates/accounting/transaction/include/form-entry-item.html b/src/accounting/templates/accounting/transaction/include/form-entry-item.html
index dda74bf..60da34d 100644
--- a/src/accounting/templates/accounting/transaction/include/form-entry-item.html
+++ b/src/accounting/templates/accounting/transaction/include/form-entry-item.html
@@ -19,6 +19,7 @@ entry-sub-form.html: The journal entry sub-form in the transaction form
Author: imacat@mail.imacat.idv.tw (imacat)
First written: 2023/2/25
#}
+{#
For SonarQube not to complain about incorrect HTML #}
{% if entry_id %}
@@ -44,3 +45,4 @@ First written: 2023/2/25
+{#
For SonarQube not to complain about incorrect HTML #}