Skip to content

Define “complete open tag” and “complete closing tag”#836

Open
taufik-nurrohman wants to merge 1 commit into
commonmark:masterfrom
taufik-nurrohman:complete-tag
Open

Define “complete open tag” and “complete closing tag”#836
taufik-nurrohman wants to merge 1 commit into
commonmark:masterfrom
taufik-nurrohman:complete-tag

Conversation

@taufik-nurrohman

Copy link
Copy Markdown

A complete open tag consists of an open tag whose final > character occurs on the same line as its opening < character.

A complete closing tag consists of a closing tag whose final > character occurs on the same line as its opening </ string.

FYI: I have tried using the command make spec.html to compile it to HTML, but it breaks some of the generated links. I’m not sure if this was normal before.

@jgm

jgm commented Jun 29, 2026

Copy link
Copy Markdown
Member

Feels unnecessary. "complete" has its ordinary English meaning here, i.e. all the elements are present.

@taufik-nurrohman

Copy link
Copy Markdown
Author

Okay then.

@jgm

jgm commented Jun 30, 2026

Copy link
Copy Markdown
Member

Also, technically the concept you are defining is not "complete open tag" but "complete open tag all on one line." Anyway, I think I'd prefer to just keep things as they are.

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

Successfully merging this pull request may close these issues.

2 participants