oerpub/oerpub.remix — pull request #8 by izak (2013-06-07 13:54:35+00:00)
Title: Clean up imports, allow <metal> to be commented

The original thinking behind the editor template in /Aloha-Editor/oerpub was
that the web browser will ignore tags it does not know and simply render the
content, as all browsers do in order to be backward compatible. What I lost
sight of was that this does not apply in the

of the document. The
macro tags in the

caused the browser to move these items
to the body instead. The simplest way to work around this is to escape the
tags in a safe way, and I've chosen to escape them as html comments.
That meant adding a bit of parsing in this product to restore them.