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

Editing page which contains <del> inside table cell may corrupts the page #360

Closed
orangain opened this issue Dec 19, 2017 · 3 comments
Closed

Comments

@orangain
Copy link
Contributor

Recently, I've upgraded the ckgedit plugin and found this issue.

Environment

  • DokuWiki: 2017-02-19e
  • ckgedit: latest master db02a93
  • Browser: Google Chrome 62.0.3202.94

How to reproduce

  1. Install ckgedit plugin into DokuWiki.

  2. Click Edit this page button of some page (e.g. playground).

  3. Click DW Edit button, then click Edit this page button again.

  4. Enter the following source and save it.

    ====== PlayGround ======
    
    [[http://example.com]]
    
    |<del>10</del>| |
    
    [[http://example.com]]
    

    You will see like this as expected:

    2017-12-19 21 51 19
  5. Click Edit this page button and click CKG Edit.

  6. Click Edit this page button again.

    You will see like this as NOT expected:

    2017-12-19 21 53 30

    The problem here is:

    • The second link and the second table cell disappear.
    • Unexpected strings oIWIKIo and cIWIKIc, that are not included in the source, appear.
  7. Click Save.

    You will see that the second link and the second table cell disappear:

    2017-12-19 22 04 09
@turnermm
Copy link
Owner

Should be fixed in latest update.

@orangain
Copy link
Contributor Author

Thank you for the quick fix! The problem has been fixed in the latest version.

@kerlerm
Copy link

kerlerm commented Jan 10, 2018

Issue is not fixed for this case: code block flanked with URLs:
Please reopen. Thanks.

https://pastebin.com/hv0yJVZq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants