Skip to content

Commit

Permalink
Remove redundant token from reHtmlBlockOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
vassudanagunta committed Jan 9, 2020
1 parent ca71e64 commit 3e60261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var reHtmlBlockOpen = [
/^<[?]/,
/^<![A-Z]/,
/^<!\[CDATA\[/,
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|title|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,

This comment has been minimized.

Copy link
@seonim-ryu

seonim-ryu Mar 26, 2020

이건 title이 2번 포함되서 제거된거죠??

This comment has been minimized.

Copy link
@vassudanagunta

vassudanagunta Mar 26, 2020

Author Contributor

Yes, that is what I mean by "redundant".

This comment has been minimized.

Copy link
@seonim-ryu

seonim-ryu Mar 26, 2020

@vassudanagunta Oh my goodness! Sorry. I'm a TOAST UI Editor maintainer, the editor is currently using commonmark.js that is forked. There was a PR that applied the issues you solved to our editor, and I should have reviewed that PR, but left a comment here. 😢 It's my mistake..

This comment has been minimized.

Copy link
@vassudanagunta

vassudanagunta Mar 26, 2020

Author Contributor

@seonim-ryu No need to be sorry! Hope your and your family are staying safe and healthy.

This comment has been minimized.

Copy link
@seonim-ryu

seonim-ryu Mar 26, 2020

@vassudanagunta Thank you for your concern. 🙏You are healthy too, and we all want to have a hard time! good luck.

new RegExp('^(?:' + OPENTAG + '|' + CLOSETAG + ')\\s*$', 'i')
];

Expand Down

0 comments on commit 3e60261

Please sign in to comment.