Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: When using {:target="_blank"} in the first link of the cell it is applied to <td>, not <a> as expexted #55

Closed
rafaelspecta opened this issue Jun 4, 2021 · 6 comments
Assignees
Labels
bug Something isn't working verified This issue was already verified

Comments

@rafaelspecta
Copy link

Markdown

| Sample table | |
| --------------|----------------------------|
| Item 1        | [Google](https://google.com){:target="_blank"}  |
| ^^            | ^^ [Yahoo](https://yahoo.com){:target="_blank"}  |

Genarated HTML

<table>
  <thead>
    <tr>
      <th>Sample table</th>
      <th> </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td rowspan="2">Item 1
        <br>
      </td>
      <td target="_blank" rowspan="2">
        <a href="https://google.com">Google</a>
        <br>
        <a href="https://yahoo.com" target="_blank">Yahoo</a>
      </td>
    </tr>
    <tr>
    </tr>
  </tbody>
</table>

Check this in the code:

<td target="_blank" rowspan="2">

If I remove {:target="_blank"} from the first link the target="_blank" disappears from <td>

table

@rafaelspecta
Copy link
Author

Forgot to mention that I am using the latest version directly from git

@jeffreytse jeffreytse self-assigned this Jun 4, 2021
@jeffreytse jeffreytse added bug Something isn't working verified This issue was already verified labels Jun 4, 2021
@jeffreytse
Copy link
Owner

Hi @rafaelspecta

Thanks for the reporting, I will try to settle down this issue as soon as possible. And welcome to star this project for further updates in the future.

Thanks and regards

@rafaelspecta
Copy link
Author

Thanks @jeffreytse . Let me know if you need any help.

@jeffreytse
Copy link
Owner

Hi @rafaelspecta

Thanks for your patience. This issue has been addressed and settled down, please update your plugin to the latest version.

Thanks and regards

@jeffreytse
Copy link
Owner

jeffreytse commented Jun 11, 2021

Hi @rafaelspecta

Has this issue been settled down? If you have any questions, please don't hesitate to tell me.

Thanks and regards

@rafaelspecta
Copy link
Author

@jeffreytse seems to be working perfectly. Awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified This issue was already verified
Projects
None yet
Development

No branches or pull requests

2 participants