Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

tmpfs
Copy link
Contributor

@tmpfs tmpfs commented Apr 23, 2016

Add support for the _htmlBlockType property on inline HTML elements;
this allows AST consumers to be able to know ahead of time the type for
inline HTML elements which is useful when parsing processing
instructions or comments.

Moved the reHtmlBlockOpen RegExp to the common module so that it may be
shared between the inline and block parsers.

Add support for the _htmlBlockType property on inline HTML elements;
this allows AST consumers to be able to know ahead of time the type for
inline HTML elements which is useful when parsing processing
instructions or comments.

Moved the reHtmlBlockOpen RegExp to the common module so that it may be
shared between the inline and block parsers.
@tmpfs
Copy link
Contributor Author

tmpfs commented Apr 23, 2016

Benchmarks were stable for me after adding this but I'm not sure which sample to use for lots of inline HTML elements.

tmpfs added 3 commits April 23, 2016 13:31
HTML5 allows the lowercase version `<!doctype html>`.
When determining _htmlBlockType for html_inline node types.
@Marsup
Copy link

Marsup commented Apr 26, 2017

@jgm any chance for this PR to be merged ? (once fixed, obviously)

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.