# مشكلة تشفير الأحرف الخاصة في نصائح الانضمام

**URL:** <https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169>\
**Category:** Translations\
**Created:** [13 فبراير 2025، 10:28م UTC](https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169 "2025-02-13T22:28:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [17 فبراير 2025، 7:08م UTC](https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169/2 "2025-02-17T19:08:23Z")

</div>

لقد واجهت نفس المشكلة.  
نظرة سريعة على Discourse تظهر أن `escape` يُستخدم على تسمية الزر والعنوان والمحتوى.

> <https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/user-tip.gjs#L38-L39>

> <https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/user-tip.gjs#L54-L58>

ماذا يعني `escape`:

> <https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/escape.js>

في سياق نصي، تبدو هذه كلها أحرف صالحة للاستخدام.

أتساءل، هل هذا مطلوب هنا؟  
أعتقد أن HTML غير المميز بـ `htmlSafe` سيتم الهروب منه بواسطة القالب؟ 🤔

---

_[View the full topic](https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169)._
