ملاحظة ممتازة! لقد قمت للتو بإرسال طلب دمج (PR) لإصلاح هذا في النواة (وسيتبعه قريبًا آخر خاص بالتعيين).
master ← xrav3nz:fix/do-not-escape-fancy-title
merged 02:04PM - 13 Sep 19 UTC
> CONTEXT: https://meta.discourse.org/t/quick-access-to-bookmarks-and-messages-o… n-user-menu/32787/50
`fancy_title` is already escaped by Rails. Escaping it again would print
the HTML entity as-is, e.g. `"` instead of `"`.
This fixes the issue by introducing a new `escapedContent` attribute on
the `QuickAccessItem` widget.
يتم تفادي الأحرف الخاصة قبل عرضها، ومع ذلك، فإن fancy_title مفادح بالفعل . تفاديه مرة أخرى سيؤدي إلى طباعة كيان HTML كما هو، على سبيل المثال " بدلاً من " المطلوبة.
10 إعجابات