يجب إزالة التنسيق من النص المقتبس عند الترجمة

discourse-translator 0.2.0
discourse v2.4.0.beta1 +234
Microsoft API

عندما تحتوي المنشورات المراد ترجمتها على اقتباسات، يبدو أن النص الخام بما في ذلك التنسيق يُرسل إلى واجهة برمجة التطبيقات. هذا يكسر وظيفة الإضافة.

7 إعجابات

So what’s the status of this issue?

إعجاب واحد (1)

Not fixed, but I would like to see this improved.

The correct process here is a bit tricky.

We would need to hoist out all sorts of blocks (like quotes, code blocks), then strip out html tags, translate and finally reconstruct the html.

I estimate there are a few days in a proper fix here.

@codinghorror did you want us to slot this or just put a pr-welcome on this?

إعجاب واحد (1)

pr-welcome is fine for this

إعجاب واحد (1)