sakaiproject/nakamura — pull request #688 by zathomas (2012-03-22 05:48:53+00:00)
Title: KERN-2672 ensure HTML parent of a widget gets added to page

When a widget is a descendant of an HTML tag, such as when a widget is inside an ordered list, we don't want to lose the HTML after we have extracted the widget.

This patch ensures that after all widget tags have been extracted, we place the remaining HTML on the page.

Note that with the new content authoring, we cannot support widgets in the middle of an HTML block such as an ordered or unordered list. The best we can do is display the widget and the accompanying HTML block in sequence.