Skip to content
This repository was archived by the owner on Feb 9, 2019. It is now read-only.

fixed self-closing div tag#5

Open
nexero wants to merge 1 commit intobitfehler:masterfrom
nexero:master
Open

fixed self-closing div tag#5
nexero wants to merge 1 commit intobitfehler:masterfrom
nexero:master

Conversation

@nexero
Copy link

@nexero nexero commented Jul 27, 2017

fixes a self-closing div tag (appears if there is no text in a document-tag), which is not allowed in HTML

solution for a self-closing tag (appears if there is no text in a document-tag), which is not allowed in HTML
@bitfehler
Copy link
Owner

Hi! Thanks a lot for submitting patches! While I guess the approach would work, I think it would be cleaner to test for an empty text before emitting the entire div block. Would you be interested in updating the patch to do so?
PS: I don't quite understand what the new commit is meant for (the index.html file)

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 this pull request may close these issues.

2 participants