בעיה פוטנציאלית חדשה עם מלחין: פרשנות BBCode?

סיכום מבוסס בינה מלאכותית

In a discussion titled ‘Potential New Composer Issue: BBCode interpretation?’, phoenix1 reports inconsistent BBCode behavior in Discourse’s new composer. While the composer prompt suggests BBCode is supported, only [u] seems to be automatically rendered as underlined text — other tags like [b] are not. phoenix1 notes that once underline is triggered, subsequent text remains underlined even after clearing the composer, until toggling the composer off and on. j.jaffeux clarifies that BBCode is only intended to work in the markdown editor, not the rich text editor, and that [b] gets escaped as expected. phoenix1 acknowledges the misunderstanding but confirms that [u] is still being interpreted in the rich text editor — suggesting unintended behavior. The issue appears to be a mismatch between UI messaging and actual functionality, with underline being an unexpected exception. Further investigation may be needed to determine whether this is a bug or a feature that needs documentation or correction.

שלום! כרגע, ברירת המחדל של הטקסט בעת פתיחת המלחין החדש מציינת שניתן להזין Markdown, BBCode או HTML. זה בהחלט עובד עם Markdown ו-HTML, אבל עם BBCode, לדוגמה:

[b]מבחן[/b]

אולי זה רק אומר שעורך הטקסט העשיר אינו מקבל BBCode בסופו של דבר, או שהוא לא נועד לכך?

BBCode נתמך רק אם אתה כותב מעורך markdown.
אם אתה מקליד [b] בעורך הטקסט העשיר, הוא יקבל בריחה ולא יהפוך למודגש. התנהגות דומה עם קו תחתון, פשוט היית מבולבל כשעברת ממצב אחד למשנהו.

3 לייקים

Thank you for clarifying :slight_smile: Since the prompt indicates that BBCode can be entered, I just assumed that the new composer would accept it, so apologies for the mistake there!

I can say from testing on my own site and the boards here, however, underline is definitely converted by the new composer. If I start typing

[u]

It is automatically converted to underlined text by the new composer. I guess this is not the intended behaviour after all?

נושא זה נסגר אוטומטית 3 ימים לאחר התגובה האחרונה. תגובות חדשות אינן מותרות עוד.