• Resolved csdorman

    (@csdorman)


    Hi Tobias! Thanks for such a great plugin!

    I’m importing a table I made in LibreOffice that has lots of links.

    The links are in the following format when I save the spreadsheet:

    <a href=”https://urlgoeshere.com” target=”_blank”>Link Text</a>

    I save the spreadsheet (tried both .csv and .xslx) and when it shows up in WordPress all the links have become:

    <a href=\""//urlgoeshere.com”\"" target=\""”_blank”\"" rel=\""noopener noreferrer\"">Link Text</a>"

    Any idea on what’s happening? I have other spreadsheets that I’ve uploaded that have turned out fine.

    Thanks again for all your work,
    Colin

    • This topic was modified 6 years ago by csdorman. Reason: Editing text for clarity
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That’s because your original code somehow has the wrong quotation marks (“curly” ones instead of of regular upright ones "). In HTML code, you must use upright ones, i.e.

    <a href="https://urlgoeshere.com" target="_blank">Link Text</a>
    

    Regards,
    Tobias

    Thread Starter csdorman

    (@csdorman)

    Worked perfectly and what a great catch. I didn’t notice that at all!

    Thanks for your help!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Import Breaking Links’ is closed to new replies.