Fix AI chatbot theming
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3569859. --> Reported by: [thamas](https://www.drupal.org/user/53339) Related to !1136 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>Fix AI chatbot message template<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The <code>ai-chatbot-message.html.twig</code> template is missing quotation marks around the HTML class definition in <code>&lt;div class={{ classes|join(' ') }}&gt;</code>. Also, the indentation, spacing, and markup need some updates.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Check the <code>web/modules/contrib/ai/modules/ai_chatbot/templates/ai-chatbot-message.html.twig</code> template. Also, check the rendered attributes of the message when using the AI Chatbot.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Update the markup of the aforementioned template.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Update the markup of the aforementioned template.</p> <h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3> <p>The issue exists in the 1.2.x branch too, but not in 2.0.x (because AI Chatbot was removed in that branch).</p>
issue