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

fixed self-closing div tag #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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