Git Product home page Git Product logo

Comments (3)

layaxx avatar layaxx commented on June 3, 2024 1

I'm going to close this issue because as previously stated I cannot reproduce this in a way that breaks anything. Feel free to reopen if you disagree and want to provide more information @adriaanvanrossum

from strapi-plugin-translate.

layaxx avatar layaxx commented on June 3, 2024

Hey, so the [Text link](https://example.com) -> [Text link](<https://example.com>) thing is due to showdown, the markdown -> html -> markdown converter we use.
Cannot really figure out your second example though. The formatService does correctly do [Text link](https://example.com/?title=(title)) -> [Text link](<https://example.com/?title=(title)>)

from strapi-plugin-translate.

layaxx avatar layaxx commented on June 3, 2024

@adriaanvanrossum
Just did some more research/testing. Your first example is considered expected behaviour by the parser showdownjs/showdown#681 (comment)
I agree that this is not perfect, but it works and therefore I don't think switching parser would be worth it.

Can you give more information about the example where the link actually breaks for you?
Because for me This is a [link](https://example.com/?title=(title)) inside some text. is correctly translated to Dies ist ein [Link](<https://example.com/?title=(title)>) innerhalb eines Textes.

I am not sure what information exactly I need, but I would be interested in at least your plugin config (without your keys of course), what versions you are using (strapi/plugins/etc.), what component field you are translating (richtext?).
Best case scenario of course would be a minimal reproduction setup like in #78 :)

from strapi-plugin-translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.