• I really like this plugin and its working out well except for one problem:

    When I am using commas in a cell and when I link the line that has the comma, it breaks the line at the comma inside.

    Example 1 (works fine):

    [table]
    cell one,"cell, two",cell three
    [/table]

    Example 2 (not working*):

    [table]
    cell one,"<a href="link">cell, two</a>",cell three
    [/table]

    *it displays as four cells

    I’d greatly appreciate your help.

    https://www.ads-software.com/plugins/easy-table/

Viewing 1 replies (of 1 total)
  • The problem is you have double quotes inside your string, i.e., around “link”. You need to either change those double quotes to single quotes, or escape them by adding another pair of double quotes around them. So either one of these would work:

    "<a href='link'>cell, two</a>"
    "<a href=""link"">cell, two</a>"

    By the way, "<a href=\"link\">cell, two</a>" would also escape the double quotes but would also break your link.

Viewing 1 replies (of 1 total)
  • The topic ‘links and commas in a cell’ is closed to new replies.