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

A-tag is not removed when URL is left empty #1763

Closed
2 tasks
moorscode opened this issue Jul 6, 2017 · 1 comment
Closed
2 tasks

A-tag is not removed when URL is left empty #1763

moorscode opened this issue Jul 6, 2017 · 1 comment

Comments

@moorscode
Copy link
Contributor

moorscode commented Jul 6, 2017

Issue Overview

Empty link tags are not removed after closing the link modal.

Steps to Reproduce (for bugs)

  1. Select a piece of text
  2. Click the Link button (the text is surrounded by an a tag, there is not href attribute because I have not entered any link.)
  3. Clicking next to the modal, the a tag remains in the text.

Expected Behavior

I expect the a-tags to be removed when the href-attribute is not present or empty.

Todos

  • Tests
  • Documentation

Plugin version: 0.3.0

@ellatrix
Copy link
Member

ellatrix commented Jul 7, 2017

Duplicate of #1446.

@ellatrix ellatrix closed this as completed Jul 7, 2017
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

2 participants