Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Tags such as <br> and <hr> autocomplete #13161

Closed
johnroper100 opened this issue Mar 8, 2017 · 8 comments · Fixed by #13183
Closed

Tags such as <br> and <hr> autocomplete #13161

johnroper100 opened this issue Mar 8, 2017 · 8 comments · Fixed by #13183
Assignees

Comments

@johnroper100
Copy link

Description

In the latest master of Brackets, HTML tags that should only have one tag (eg. <hr> instead of <hr></hr>) autocomplete.

Steps to Reproduce

  1. Add a tag such as <hr>

Expected behavior: <hr>

Actual behavior: <hr></hr>

Versions

Windows 10 x64
Release 1.9 development build 1.9.0-0 (master 68e3705)

@evgnTarasevich
Copy link

Ubuntu 16.04 x64, the same release as yours, the same problem.

@johnroper100
Copy link
Author

I update to master every day and still have this problem. I don't have any extensions installed which should be causing this issue.

@ficristo
Copy link
Collaborator

Meanwhile you could add in your preferences something like this:

"closeTags": {
    "dontCloseTags": ["br", "hr"]
}

@evgnTarasevich
Copy link

It does not work.

@evgnTarasevich
Copy link

The only way is to use 1.8 v, untill this bug is fixed.

@johnroper100
Copy link
Author

Ok, thanks. It is a real pain. I will just have to put up with it.

@zaggino
Copy link
Contributor

zaggino commented Mar 15, 2017

This is now fixed in latest master @johnroper100 @evgnTarasevich

@johnroper100
Copy link
Author

Thanks, it works perfectly now!

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

Successfully merging a pull request may close this issue.

4 participants