diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-09-06 23:06:55 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-09-06 23:06:55 -0700 |
commit | 1325976ea8a23d8a7939486b44ace20f41b9635a (patch) | |
tree | e3beef8f1ef526ac77cf7e8ab71b5ea1c5ff8ada /js | |
parent | 7b3dec668487456cc89e58148f6f933b7fded2a7 (diff) |
Spec, js, C: Added iframe to block-level HTML tags.
Closes #88.
Diffstat (limited to 'js')
-rwxr-xr-x | js/stmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ var IN_PARENS = '\\((' + ESCAPED_CHAR + '|[^)\\x00])*\\)'; var REG_CHAR = '[^\\\\()\\x00-\\x20]'; var IN_PARENS_NOSP = '\\((' + REG_CHAR + '|' + ESCAPED_CHAR + ')*\\)'; var TAGNAME = '[A-Za-z][A-Za-z0-9]*'; -var BLOCKTAGNAME = '(?:article|header|aside|hgroup|blockquote|hr|body|li|map|button|object|canvas|ol|caption|output|col|p|colgroup|pre|dd|progress|div|section|dl|table|td|dt|tbody|embed|textarea|fieldset|tfoot|figcaption|th|figure|thead|footer|footer|tr|form|ul|h1|h2|h3|h4|h5|h6|video|script|style)'; +var BLOCKTAGNAME = '(?:article|header|aside|hgroup|iframe|blockquote|hr|body|li|map|button|object|canvas|ol|caption|output|col|p|colgroup|pre|dd|progress|div|section|dl|table|td|dt|tbody|embed|textarea|fieldset|tfoot|figcaption|th|figure|thead|footer|footer|tr|form|ul|h1|h2|h3|h4|h5|h6|video|script|style)'; var ATTRIBUTENAME = '[a-zA-Z_:][a-zA-Z0-9:._-]*'; var UNQUOTEDVALUE = "[^\"'=<>`\\x00-\\x20]+"; var SINGLEQUOTEDVALUE = "'[^']*'"; |