John MacFarlane
97c9691696
Textile reader: don't allow block HTML tags in inline contexts.
...
The reader previously did allow this, following redcloth,
which happily parses
Html blocks can be <div>inlined</div> as well.
as
<p>Html blocks can be <div>inlined</div> as well.</p>
This is invalid HTML, and this kind of thing can lead
to parsing problems (stack overflows) as well. So this
commit undoes this behavior. The above sample now produces;
<p>Html blocks can be</p>
<div>
<p>inlined</p>
</div>
<p>as well.</p>
2016-01-02 22:34:06 -08:00
..
2015-12-13 21:40:13 +01:00
2015-12-12 16:22:31 -08:00
2014-08-13 11:16:50 -07:00
2015-08-15 10:40:22 -07:00
2015-08-07 12:39:43 +02:00
2015-12-12 16:22:31 -08:00
2006-10-17 14:22:29 +00:00
2015-06-21 18:36:47 +02:00
2015-12-12 12:58:31 -08:00
2015-09-24 18:26:55 +02:00
2015-12-12 12:58:31 -08:00
2014-11-09 02:18:58 -05:00
2015-08-07 12:38:31 +02:00
2015-02-04 22:42:22 -08:00
2014-08-13 11:16:50 -07:00
2014-08-30 21:24:33 -07:00
2015-08-07 12:38:31 +02:00
2014-06-18 14:18:55 -07:00
2015-12-12 12:58:31 -08:00
2015-07-24 02:53:44 -04:00
2015-12-12 16:22:31 -08:00
2006-10-17 14:22:29 +00:00
2006-10-17 14:22:29 +00:00
2015-08-07 12:38:31 +02:00
2015-12-12 12:58:31 -08:00
2015-12-12 16:22:31 -08:00
2011-02-04 20:38:08 -08:00
2015-12-12 16:22:31 -08:00
2015-12-12 16:22:31 -08:00
2015-12-19 18:50:45 -08:00
2015-12-19 18:50:45 -08:00
2015-12-12 16:22:31 -08:00
2015-12-12 16:22:31 -08:00
2015-12-12 16:22:31 -08:00
2013-01-26 16:12:11 -08:00
2013-01-26 16:12:11 -08:00
2013-09-14 22:28:37 -07:00
2012-06-03 19:26:36 -07:00
2015-12-11 23:55:08 -08:00
2015-05-13 23:12:58 -07:00
2015-12-12 12:58:31 -08:00
2015-11-19 23:14:23 -08:00
2006-10-17 14:22:29 +00:00
2015-08-07 12:39:43 +02:00
2013-03-20 10:17:59 -07:00
2015-11-24 20:29:44 -08:00
2015-11-24 20:29:44 -08:00
2015-12-13 21:40:12 +01:00
2015-08-15 10:22:47 -07:00
2015-10-25 12:28:28 -07:00
2015-10-25 12:28:28 -07:00
2015-02-01 11:08:27 -08:00
2015-02-01 11:08:27 -08:00
2013-08-16 12:25:21 -07:00
2015-12-12 12:58:31 -08:00
2014-10-20 20:26:08 -07:00
2013-11-30 16:34:32 -08:00
2011-07-24 23:24:03 -07:00
2014-08-30 21:24:33 -07:00
2012-07-22 11:13:14 -07:00
2014-10-20 20:26:08 -07:00
2015-10-30 12:36:36 -07:00
2015-12-17 10:26:59 +01:00
2014-08-29 13:54:08 +00:00
2013-04-09 19:56:43 -07:00
2011-01-06 21:05:28 -08:00
2016-01-02 12:14:12 -08:00
2015-12-11 23:55:08 -08:00
2015-04-12 00:56:02 +03:00
2014-10-20 20:26:08 -07:00
2011-01-06 21:05:28 -08:00
2014-10-20 20:26:08 -07:00
2014-03-24 15:12:32 -07:00
2011-01-06 21:05:28 -08:00
2014-08-30 20:34:42 -07:00
2010-07-06 21:02:26 -07:00
2015-11-09 10:08:22 -08:00
2015-12-12 09:31:51 -08:00
2014-07-20 16:33:59 -07:00
2016-01-02 22:34:06 -08:00
2016-01-02 22:34:06 -08:00
2015-12-12 16:22:31 -08:00
2015-06-09 22:22:58 +02:00
2015-12-12 12:58:31 -08:00
2014-08-21 17:09:40 +01:00
2015-11-23 21:29:21 -08:00
2015-11-20 14:50:37 -08:00
2015-12-12 09:31:51 -08:00
2015-12-12 09:31:51 -08:00
2015-12-12 12:58:31 -08:00
2014-06-19 00:28:23 -07:00
2015-12-12 09:31:51 -08:00
2015-12-17 10:26:59 +01:00
2015-12-19 18:50:45 -08:00
2015-12-03 10:38:48 -08:00
2015-04-18 10:58:50 -07:00
2015-12-12 09:31:51 -08:00
2015-12-12 12:58:31 -08:00
2015-12-12 12:58:31 -08:00
2015-04-18 10:58:50 -07:00
2014-07-07 15:53:59 -06:00
2015-10-15 14:35:01 -07:00
2015-04-07 22:07:38 -07:00
2015-12-12 12:58:31 -08:00
2015-02-07 20:28:56 -08:00
2015-12-12 09:31:51 -08:00
2015-11-20 14:50:37 -08:00
2015-12-19 18:50:45 -08:00
2015-10-18 17:01:38 +02:00