Skip to content

MarkdownTranslator لا تُحوّل الروابط ذات النص المُحاط بأقواس: #6

@heshammahamed

Description

@heshammahamed

مكتبة MarkdownTranslator تفشل في تحويل الرابط الذي يحتوي على أقواس — أي بالشكل [text](link contain () in the url) — إلى وسم رابط صحيح. فبدل توليد وسم <a>، تُخرِج الماركداون هذا الرابط كنص عادي داخل فقرة.

مثال

مرِّر الماركداون التالي إلى المترجِم:

[text](https://en.wikipedia.org/wiki/Cat_(disambiguation))

المُخرَج المتوقَّع

<a href="https://en.wikipedia.org/wiki/Cat_(disambiguation)">text</a>

المُخرَج الفعلي

<p>[text](https://en.wikipedia.org/wiki/Cat_(disambiguation))</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions