Changeset d774679 in Klonkt


Ignore:
Timestamp:
06/23/2026 06:16:37 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
6d3e2c1
Parents:
834bcc3
Message:

fix: auth-reset.ejs EJS comment broke compile (nested <% in <%# comment)

The Dutch comment contained a literal <%- and <strong>, which the EJS parser
read as a nested open tag → 'no matching close tag'. Reworded (English, no
nested tags). Pre-existing latent bug surfaced by the comment-translation pass.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/auth-reset.ejs

    r834bcc3 rd774679  
    1111  <% } else { %>
    1212    <p class="auth-tagline"><%- t('arst.set_for', { username: '<strong>' + username + '</strong>' }) %></p>
    13     <%# arst.set_for bevat {username} → rendered met <%- omdat username in <strong> staat %>
     13    <%# arst.set_for contains {username}; rendered with raw output because username is wrapped in a strong tag %>
    1414
    1515    <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
Note: See TracChangeset for help on using the changeset viewer.